[sane-devel] sane-backends/lib/getopt.c compiling on OS/2
Franz Bakan
Franz Bakan" <fbakan@gmx.net
Thu, 30 Jun 2005 00:12:30 +0200 (CEST)
Hi,
Due to a linker problem on OS/2 I get
.../ld.exe: symbol `_optarg' defined more than once in \
G:/Dev/gcc/335b5/usr/lib/libc_dll.a(IMPORT#45#426bf)
when compiling SANE with gcc 3.3.5.
The gcc 3.3.5 guy tells me:
"You should probably not be compiling getopt.c, libc have a working
getopt already...."
I assumed this also, so my question: Is this true and when yes,
what's the trigger for switching off the compilation the getopt.c functions
that come with SANE?
Franz