This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Probable egcs-1.1b problem
- To: Wojtek Slusarczyk <wojtek at SHADOW dot EU dot ORG>
- Subject: Re: Probable egcs-1.1b problem
- From: Alex Buell <alex dot buell at tahallah dot demon dot co dot uk>
- Date: Sun, 4 Oct 1998 13:39:35 -0400 (EDT)
- cc: egcs at cygnus dot com
- Reply-To: alex dot buell at tahallah dot demon dot co dot uk
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