[sane-devel] OS/2 version of Sane

Franz Bakan Franz Bakan" <fbakan@gmx.net
Fri, 23 Nov 2001 01:56:58 +0100 (CET)


On Thu, 22 Nov 2001 21:57:54 +0100, Henning Meier-Geinitz wrote:

>On Thu, Nov 22, 2001 at 10:12:33AM +0100, Paul Floyd wrote:
>> 1. configure failed to detect syslog. Had to edit include/sane/config.h
>
>Do you have any idea why this happens? Maybe we can fix configure.in.

This is what happens:

configure:2721: checking for syslog in -lsyslog
configure:2740: gcc -o conftest.exe ....conftest.c -lsyslog -lm ...
configure:2733: warning: function declaration isn't a prototype
configure:2735: warning: function declaration isn't a prototype
G:\EMX\LIB/syslog.a(syslog.o): Undefined symbol _send referenced...
G:\EMX\LIB/syslog.a(syslog.o): Undefined symbol __swaps referenced...
G:\EMX\LIB/syslog.a(syslog.o): Undefined symbol _socket referenced...
G:\EMX\LIB/syslog.a(syslog.o): Undefined symbol _connect referenced...

Seems that -lsocket is missing. When I compile conftest.c 'by hand'
 with -lsocket added it's OK.

Bye
Franz