[sane-devel] sane-backends/lib/getopt.c compiling on OS/2

2005-07-09 Thread Henning Meier-Geinitz
Hi, On Thu, Jul 07, 2005 at 11:55:49PM +0200, Franz Bakan wrote: > The following 3 lines > > #ifdef __INNOTEK_LIBC__ > #define ELIDE_CODE 1 > #endif > > which should appear after configure in > sane-backends\include\sane\config.h. > > would solve the issue for OS/2 > > I suggest somone to ad

[sane-devel] sane-backends/lib/getopt.c compiling on OS/2

2005-07-07 Thread
On Wed, 06 Jul 2005 12:31:11 +0200, Mattias Ellert wrote: >On Sun, 2005-07-03 at 15:10 +0200, Henning Meier-Geinitz wrote: > >> getopt.c is compiled and linked unconditionally on all platforms as >> far as I can see. As this works on all the other platforms there must >> be something different on

[sane-devel] sane-backends/lib/getopt.c compiling on OS/2

2005-07-06 Thread
On Wed, 06 Jul 2005 12:31:11 +0200, Mattias Ellert wrote: >On Sun, 2005-07-03 at 15:10 +0200, Henning Meier-Geinitz wrote: > >> getopt.c is compiled and linked unconditionally on all platforms as >> far as I can see. As this works on all the other platforms there must >> be something different on

[sane-devel] sane-backends/lib/getopt.c compiling on OS/2

2005-07-06 Thread Mattias Ellert
--=-xxoVopfl9ikfNlv+Vwa4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-07-03 at 15:10 +0200, Henning Meier-Geinitz wrote: > getopt.c is compiled and linked unconditionally on all platforms as > far as I can see. As this works on all the other platforms there mu

[sane-devel] sane-backends/lib/getopt.c compiling on OS/2

2005-07-03 Thread Henning Meier-Geinitz
Hi, On Thu, Jun 30, 2005 at 12:12:30AM +0200, Franz Bakan wrote: > 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 m

[sane-devel] sane-backends/lib/getopt.c compiling on OS/2

2005-06-30 Thread
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