[sane-devel] Code freeze for SANE 1.0.10

Franz Bakan fbakan at gmx.net
Tue Jan 28 00:08:26 GMT 2003


On Sun, 26 Jan 2003 17:22:15 +0100, Henning Meier-Geinitz wrote:

>Code freeze for SANE 1.0.10 is active. That means that only fixes of
>grave bugs that render a backend completely unusable or break
>compilation and documentation updates are accepted. 

Two minor things on OS/2 with 1.0.10-pre3

1. backends

Strange things happen:
...
gcc -Zmt -Zdll -Zmap -Zcrtdll -o .libs/libsane-artec_eplus48u.dll artec_eplus48u.o artec_eplus48u-s.o \
sane_strstatus.o ../sanei/sanei_init_debug.o ../sanei/sanei_config.o ../lib/inet_ntop.o ../lib/inet_pton.o \
../lib/isfdtype.o ../lib/strndup.o ../lib/strsep.o ../lib/usleep.o ../lib/alloca.o ../sanei/sanei_constrain_value.o \
../sanei/sanei_usb.o .libs/libsane-artec_eplus48u.def ../sanei/libsanei.a -ljpeg -lsyslog -lsocket

fails with

emxbind: invalid option
G:\EMX\BIN\ld.exe: emxbind failed

gmake[1]: *** [libsane-artec_eplus48u.la] Error 1

It links fine if I remove the
 -Zmap 
compiler-flag

This -Zmap flag _only_ makes trouble with  artec_eplus48u.
I don't know the reason. Should I try to rename the artec_eplus48u source-files
and see if it helps?

2. frontends

when linking xcam :
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
gmake[1]: *** [xcam] Error 1

The problem can be solved by adding
 -lpthreads 
to
 LIBS=
in the makefile.

The rest builds fine here

Franz





More information about the sane-devel mailing list