bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] getopt/'struct options' build error in 1.13.1


From: Jack Nagel
Subject: [Bug-wget] getopt/'struct options' build error in 1.13.1
Date: Tue, 16 Aug 2011 19:02:18 -0500

I have encountered an issue building wget 1.13.1 on Mac OS X 10.6.8.
It fails during 'make' with gcc 4.2 here:

/usr/bin/cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
   -DLOCALEDIR=\"/usr/local/share/locale\" -I.  -I../lib -I../lib -c css.c
In file included from ../lib/unistd.h:113:0,
                 from css.c:4738:
../lib/getopt.h:196:8: error: redefinition of 'struct option'
/usr/include/getopt.h:54:8: note: originally defined here
../lib/getopt.h:245:12: error: conflicting types for 'getopt_long'
/usr/include/getopt.h:69:5: note: previous declaration of 'getopt_long' was here
../lib/getopt.h:249:12: error: conflicting types for 'getopt_long_only'
/usr/include/getopt.h:71:5: note: previous declaration of
'getopt_long_only' was here

However, I can successfully build wget 1.13 on the same system under
the same conditions. (Please CC as I am not subscribed to the list).

Thanks in advance for the help.

Jack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]