primax: primax_scan-0.2 >>>> please help
Subject:
Re: primax_scan-0.2 >>>> please help
From:
####@####.####
Date:
3 Mar 2000 10:51:17 -0000
Message-Id: <15572.952079464@www8.gmx.net>
[snip]
> That is a common problem (I'm not sure how it's happened), but all the
> libraries (the flags beginning with -l) need to be specified at the end
> of the command line. If you edit the Makefile and change the line:
>
> cc -ltiff -ljpeg -lm -lz -O3 $(PRIMAX_SCAN_OBJS) -o $@
>
> to read:
>
> cc -O3 $(PRIMAX_SCAN_OBJS) -o $@ -ltiff -ljpeg -lm -lz
>
> Then things will work better.
Recently, I have discussed this issue with someone else.
In fact, it seems to depend on the compiler specs and/or ld version.
At least with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release) with GNU ld version 2.9.1 it doesn't matter where
you place the library flags. I don't know why.
Regards - Juergen.
--
Sent through GMX FreeMail - http://www.gmx.net