[sane-devel] problems on OS/2

Chris Bagwell chris at cnpbagwell.com
Sat Feb 7 20:25:41 UTC 2009


Franz Bakan wrote:
> I built again and zipped the result.
>
> you can get it here:
>
>  http://www.fbakan.de/temp/Sane-OS2-Build.zip
>
> The zip-file contains the generated libtool, the main Makefile,
> the output from configure and make stdout (.1) and stderr (.2)
> and the old os2-specific-libtool, which used to work.
>   

Thanks... That helps.  I'll see what changes were needed in 
os2-specific-libtool and see if they've been added upstream yet.

The output does give us a nice warning message about why its not 
building the DLL's.  The message isn't quite self-explanatory though so 
I need to research more on it.

sh ../libtool --silent --tag=CC   --mode=link gcc  -D__EMX__ -DOS2 
-D__ST_MT_ERR
NO__ -fno-omit-frame-pointer -O2 -W -Wall -Wcast-align -Wcast-qual 
-Wmissing-dec
larations -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wstrict-prototypes
 -pedantic  -rpath '/usr/lib' -version-info 1:0:1 -Zexe -Zmtd 
-D__ST_MT_ERRNO__
-s -no-undefined -o libsane.la -rpath /usr/lib libsane_la-dll-s.lo 
../lib/liblib
.la  libdll.la sane_strstatus.lo ../sanei/sanei_init_debug.lo 
../sanei/sanei_con
strain_value.lo ../sanei/sanei_config.lo ../sanei/sanei_config2.lo 
../sanei/sane
i_usb.lo ../sanei/sanei_scsi.lo ../sanei/sanei_pv8630.lo 
../sanei/sanei_pp.lo ..
/sanei/sanei_thread.lo  ../sanei/sanei_lm983x.lo 
../sanei/sanei_access.lo ../san
ei/sanei_net.lo ../sanei/sanei_wire.lo ../sanei/sanei_codec_bin.lo 
../sanei/sane
i_pa4s2.lo ../sanei/sanei_ab306.lo ../sanei/sanei_pio.lo 
../sanei/sanei_tcp.lo .
./sanei/sanei_udp.lo ../sanei/sanei_jpeg.lo -ldl  -lm   -ljpeg       

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

> ...
>   
>> Can you verify that the frontends/scanimage.exe is a working program 
>> after this?
>>     
>
> Yes, scanimage.exe is a working program
>
>   
OK, good. 
> Probably, I will try with --disable-shared --enable-static later this weekend.
>   
No need; since you've got a working scanimage.exe.  It will only do same 
thing that is occuring now.  I need to find fix for above warning 
message now.

Chris



More information about the sane-devel mailing list