heya,<div><br></div><div>I'm attempting to compile Jnetttop</div><div><br></div><div>When I attempt to run configure, I get:</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
victorh@puppet:~/jnettop-0.13.0$ ./configure<br>checking for a BSD-compatible install... /opt/csw/bin/ginstall -c<br>checking whether build environment is sane... yes<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>
checking for gcc... gcc<br>checking for C compiler default output file name... configure: error: C compiler cannot create executables<br>See `config.log' for more details.<br>victorh@puppet:~/jnettop-0.13.0$ ./configure<br>
checking for a BSD-compatible install... /opt/csw/bin/ginstall -c<br>checking whether build environment is sane... yes<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking for gcc... gcc<br>
checking for C compiler default output file name... configure: error: C compiler cannot create executables<br>See `config.log' for more details.</blockquote></div><div><br></div><div>If I check config.log, I see:</div>
<div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
configure:2032: gcc -v </dev/null >&5<br>Using built-in specs.<br>COLLECT_GCC=gcc<br>COLLECT_LTO_WRAPPER=/opt/csw/libexec/gcc/i386-pc-solaris2.10/4.6.1/lto-wrapper<br>Target: i386-pc-solaris2.10<br>Configured with: /home/maciej/src/opencsw/pkg/gcc4/branches/opt-csw-prefix/work/solaris10-i386/build-isa-i386/gcc-4.6.1/configure --program-suffix=-4.6 --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --libdir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir=/opt/csw/share/man --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --with-mpfr=/opt/csw --with-gmp=/opt/csw --enable-java-awt=xlib --enable-libssp --enable-objc-gc --enable-threads=posix --enable-stage1-languages=c --enable-languages=c,c++,fortran,java,objc --enable-bootstrap --with-system-zlib<br>
Thread model: posix<br>gcc version 4.6.1 (GCC)<br>configure:2035: $? = 0<br>configure:2037: gcc -V </dev/null >&5<br>gcc: error: unrecognized option '-V'<br>gcc: fatal error: no input files<br>compilation terminated.<br>
configure:2040: $? = 1<br>configure:2063: checking for C compiler default output file name<br>configure:2066: gcc conftest.c >&5<br>ld: fatal: file crt1.o: open failed: No such file or directory<br>configure:2069: $? = 1<br>
configure: failed program was:<br>| /* confdefs.h. */<br>|<br>| #define PACKAGE_NAME "jnettop"<br>| #define PACKAGE_TARNAME "jnettop"<br>| #define PACKAGE_VERSION "0.13.0"<br>| #define PACKAGE_STRING "jnettop 0.13.0"<br>
| #define PACKAGE_BUGREPORT "<a href="mailto:j@kubs.cz">j@kubs.cz</a>"<br>| #define PACKAGE "jnettop"<br>| #define VERSION "0.13.0"<br>| /* end confdefs.h. */<br>|<br>| int<br>| main ()<br>
| {<br>
|<br>| ;<br>| return 0;<br>| }<br>configure:2107: error: C compiler cannot create executables<br>See `config.log' for more details.</blockquote></div><div><br></div><div>Anyhow, it seems that it doesn't like the -V option?</div>
<div><br></div><div>It is a fairly old package, last update is from 2006. However, is there a quick way to get it to work with GCC 4?</div><div><br></div><div>Cheers,</div><div>Victor</div>