optreset undeclared

From: Martin Dvorak <mdvorak_at_ninell.cz>
Date: Tue, 24 Jun 2003 15:37:52 +0200
Hi,

am I the only one having this problem while building world:

cc -I/usr/local/include  -march=athlon-tbird -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale 
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP 
-DHESIOD  -c /usr/src/lib/libc/stdlib/getopt_long.c -o getopt_long.o
/usr/src/lib/libc/stdlib/getopt_long.c: In function `getopt_internal':
/usr/src/lib/libc/stdlib/getopt_long.c:205: `optreset' undeclared (first 
use in this function)
/usr/src/lib/libc/stdlib/getopt_long.c:205: (Each undeclared identifier 
is reported only once
/usr/src/lib/libc/stdlib/getopt_long.c:205: for each function it appears 
in.)

It seems like line 72 of getopt_long.c should read

#elif !HAVE_CONFIG_H && !HAVE_DECL_OPTRESET

instead of

#elif HAVE_CONFIG_H && !HAVE_DECL_OPTRESET

I cannot make buildworld for days now because of this error. Any 
suggestions?

Thanks.

Martin
Received on Tue Jun 24 2003 - 04:34:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC