Re: Make OS2 Binaries ?

Stefan Knodt (sknodt@bluewin.ch)
Wed, 05 Nov 97 03:12:57 +0100

On Tue, 04 Nov 1997 10:13:36 -0800, Jeff Freedman wrote:

>Stefan Knodt wrote:
>
>> > 3. Create a fake "ln" shell script that just does a copy, and
>> > that strips out the '-s' option.
>> Hmm, do what ?
>
>I don't have it in front of me (using Linux at work), but the basic
>idea is to create a file called "ln" in one of your path directories
>that looks something like:
>
>#!/bin/sh
>
>if ("$1" == "-s") then
> cp $2 $3
>else
> cp $1 $3
>endif

OK It seems to be :

#!/bin/sh
if [ "$1" = "-s" ]
then cp $2 $3
else cp $1 $2
fi

>> I got the followin errors
>> configure.: configure.[3360]: cmp: not found
>
>Same here. Doesn't seem to matter.

I found cmp.exe in the "gnudiff.zip" package
>
>> updating cache ./config.cache
>> creating ./config.status
>> ./config.status: ./config.status[121]: expr: not found
>> ./config.status: ./config.status[121]: expr: not found
>
>Look on line 121 in config.status. Might have to do with the lack of
>"ln", since I don't see this error.
>
No, but I got it. It needs a programm called test.exe (from "gnusutil.zip")
in "/bin" directory

Finally, the thing you forgot to mention, the "aspir101.zip" package (for srb.h).
It seems to be an error in srb.h
see the make output

gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SA
NE_CONFIG_DIR=/emx/etc/sane.d -DPATH_SANE_DATA_DIR=/emx/share -DV_MAJOR=0 -DV_MI
NOR=66 -g -O2 -Wall sanei_scsi.c
In file included from sanei_scsi.c:122:
srb.h:112: conflicting types for `SRB'
srb.h:49: previous declaration of `SRB'
sanei_scsi.c:159: warning: `cam_fd' defined but not used
make[1]: *** [sanei_scsi.o] Error 1

However I made some minor changes in srb.h. but the output of scanimage
is a DOS binary ! :-|

---
Stefan

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com