Probable egcs-1.1b problem
Alex Buell
alex.buell@tahallah.demon.co.uk
Sun Oct 4 10:44:00 GMT 1998
On Sun, 4 Oct 1998, Wojtek Slusarczyk wrote:
> mount.c:1145: invalid use of undefined type `struct option'
> mount.c: In function `main':
> mount.c:1175: warning: implicit declaration of function `getopt_long'
> make: *** [mount.o] Error 1
Ran into this problem last week. You need to add #define _GNU_SOURCE to
your code to get it to compile. You are using glibc-2.0.9x aren't you?
2.0.97 will fix this.
Cheers,
Alex
--
/\_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!
Linux tahallah 2.1.123 #44 Mon Sep 28 19:02:54 EDT 1998
One AMD 486 DX/4 processor, 49.77 total bogomips, 32M RAM
System library 2.0.96
More information about the Gcc
mailing list