[sane-devel] building sane-frontends on OS/2
Franz Bakan
fbakan at gmx.net
Thu May 2 23:05:52 BST 2002
Hi,
The sane-frontends build on OS/2 but I still have to make some small
manual modifications.
To build I have to
1. add '#define HAVE_VSYSLOG 1' to sane-frontends/include/sane/config.h
2. add '-llibsane -lsyslog -lpthreads -lsocket' to 'LIBS =' in sane-frontends/src/Makefile
-lsocket is needed because of:
g:\emx\lib/syslog.a(syslog.o): Undefined symbol _send referenced from text segment
g:\emx\lib/syslog.a(syslog.o): Undefined symbol _socket referenced from text segment
g:\emx\lib/syslog.a(syslog.o): Undefined symbol _connect referenced from text segment
-lpthreads is needed because of:
xcam.o: Undefined symbol _pthread_write referenced from text segment
xcam.o: Undefined symbol _pthread_write referenced from text segment
xcam.o: Undefined symbol _pthread_read referenced from text segment
3. Change 'GIMP_LIBS = -lgimp' to 'GIMP_LIBS = -lgimp121' in sane-frontends/src/Makefile
Perhaps it is possible to reduce the number of the needed modifications.
At least the HAVE_VSYSLOG problem was allready solved for sane-backends
some time ago.
config.log contains:
...
configure:2415: checking for vsyslog
configure:2443: gcc -o conftest.exe -D__EMX__ -DOS2 -Zmtd -D__ST_MT_ERRNO__ \
-fstack-check -O2 -mprobe -Wall -D_GNU_SOURCE -Zmtd -D__ST_MT_ERRNO__ \
-O2 -Zsysv-signals conftest.c -lm 1>&5
G:/TEMP\cca03801: Undefined symbol _vsyslog referenced from text segment
...
Regards
Franz
More information about the sane-devel
mailing list