[csw-users] Issue compiling Jnetttop - GCC and -V option?

Victor Hooi victorhooi at yahoo.com
Thu Sep 15 09:07:27 CEST 2011


heya,

I'm attempting to compile Jnetttop

When I attempt to run configure, I get:

victorh at puppet:~/jnettop-0.13.0$ ./configure
> checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> victorh at puppet:~/jnettop-0.13.0$ ./configure
> checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.


If I check config.log, I see:

configure:2032: gcc -v </dev/null >&5
> Using built-in specs.
> COLLECT_GCC=gcc
>
> COLLECT_LTO_WRAPPER=/opt/csw/libexec/gcc/i386-pc-solaris2.10/4.6.1/lto-wrapper
> Target: i386-pc-solaris2.10
> 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
> Thread model: posix
> gcc version 4.6.1 (GCC)
> configure:2035: $? = 0
> configure:2037: gcc -V </dev/null >&5
> gcc: error: unrecognized option '-V'
> gcc: fatal error: no input files
> compilation terminated.
> configure:2040: $? = 1
> configure:2063: checking for C compiler default output file name
> configure:2066: gcc    conftest.c  >&5
> ld: fatal: file crt1.o: open failed: No such file or directory
> configure:2069: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "jnettop"
> | #define PACKAGE_TARNAME "jnettop"
> | #define PACKAGE_VERSION "0.13.0"
> | #define PACKAGE_STRING "jnettop 0.13.0"
> | #define PACKAGE_BUGREPORT "j at kubs.cz"
> | #define PACKAGE "jnettop"
> | #define VERSION "0.13.0"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2107: error: C compiler cannot create executables
> See `config.log' for more details.


Anyhow, it seems that it doesn't like the -V option?

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?

Cheers,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20110915/ceb08a82/attachment-0001.html>


More information about the users mailing list