This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Probable egcs-1.1b problem


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]