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

Sebastian Kayser skayser at opencsw.org
Fri Sep 16 00:08:50 CEST 2011


Victor,

* Victor Hooi <victorhooi at yahoo.com> wrote:
>    If I check config.log, I see:
> 
>      ...
>      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 "[1]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?

going through your config.log, I am not sure, whether gcc -V is the
problem or rather the failed linkage with crt1.o. Do you have crt1.o on
your system? Can you successfully compile the C snippet manually?

Sebastian


More information about the users mailing list