Date: Tue, 24 Jun 2003 15:37:52 +0200 From: Martin Dvorak <mdvorak@ninell.cz> To: freebsd-current@freebsd.org Subject: optreset undeclared Message-ID: <3EF85430.4060502@ninell.cz>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF85430.4060502>