Trying to compile libemu (http://libemu.carnivore.it/) on 5.1. Make all breaks at:
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I ../.. -Werror -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wstrict-prototypes -MT scprofiler.o -MD -MP -MF .deps/scprofiler.Tpo -c -o scprofiler.o scprofiler.c cc1: warnings being treated as errors In file included from scprofiler.c:50: /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:74: warning: its scope is only this definition or declaration, which is probably not what you want /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside parameter list *** Error code 1 Stop in /root/libemu/testsuite (line 92 of /usr/share/mk/sys.mk). *** Error code 1 Stop in /root/libemu (line 375 of Makefile). *** Error code 1 Stop in /root/libemu (line 260 of Makefile). Tried to go forward with CC="gcc -Werror" make, but that didn't work. Just curious if there's any way to proceed. Pointers (ahem :)) appreciated. -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk "This officer's men seem to follow him merely out of idle curiosity." -- Sandhurst officer cadet evaluation. "Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted." -- Gene Spafford learn french: http://www.youtube.com/watch?v=30v_g83VHK4