From: Mij <mi...@bi...> - 2009-01-17 10:23:24
|
Hello Greg, This is a problem with non-POSIX compliant libc implementations, where getopt() stuff is not defined in unistd.h but in getopt.h . Nobuhiro Iwamatsu has reported the same problem some days ago, and support for these settings has been added in the SVN version. You can either download and compile that, or wait a some days for 1.4 to be released. michele On Jan 16, 2009, at 17:45 , Greg Parrish wrote: > > I am having an issue compiling the 1.4RC2 on my system. Here are the > OS > details and the tail of the error. Any ideas on this make error, the > configure ran fine. > > CentOS release 3.9 (Final) > 2.4.21-53.EL #1 Mon Dec 3 13:43:24 EST 2007 i686 athlon i386 GNU/Linux > > ./configure --with-firewall=iptables > > make: > > > make[3]: Leaving directory `/home/software/sshguard-1.4rc2/src/fwalls' > make[3]: Entering directory `/home/software/sshguard-1.4rc2/src' > gcc -DHAVE_CONFIG_H -I. -I. -O2 -std=c99 -Wall -g -O2 -MT > sshguard_options.o -MD -MP -MF .deps/sshguard_options.Tpo -c -o > sshguard_options.o sshguard_options.c > sshguard_options.c: In function `get_options_cmdline': > sshguard_options.c:44: warning: implicit declaration of function > `getopt' > sshguard_options.c:47: `optarg' undeclared (first use in this > function) > sshguard_options.c:47: (Each undeclared identifier is reported only > once > sshguard_options.c:47: for each function it appears in.) > make[3]: *** [sshguard_options.o] Error 1 > make[3]: Leaving directory `/home/software/sshguard-1.4rc2/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/software/sshguard-1.4rc2/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/software/sshguard-1.4rc2/src' > make: *** [all-recursive] Error 1 > > Thanks, > greg > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Sshguard-users mailing list > Ssh...@li... > https://lists.sourceforge.net/lists/listinfo/sshguard-users |