Announcement

Collapse
No announcement yet.

GCC Problems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GCC Problems

    So, I am attempting to install my first program from source *cue ominous music*...

    specifically, i'm trying to install libnjb so I can run KZenExplorer in order to use my Zen Micro without resorting to Win XP. I tried installing the libnjb1 and libnjb5 packages via adept and still got the error:
    Code:
    kzenexplorer: error while loading shared libraries: libnjb.so.4: cannot open shared object file: No such file or directory
    So I figure I should install libnjb from source... I've gotten gcc and run the ./configure in the install dir when I get the error:
    Code:
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    Did some searches and it seems like a very common problem for newbies like me, but of course even instance of this problem has a different solution. I think the pertinent lines of 'config.log' are...
    Code:
    gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
    configure:2293: $? = 0
    configure:2295: gcc -V </dev/null >&5
    gcc: '-V' option must have argument
    configure:2298: $? = 1
    configure:2321: checking for C compiler default output file name
    configure:2324: gcc    conftest.c  >&5
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    configure:2327: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME "libnjb"
    | #define PACKAGE_TARNAME "libnjb"
    | #define PACKAGE_VERSION "2.2.5"
    | #define PACKAGE_STRING "libnjb 2.2.5"
    | #define PACKAGE_BUGREPORT "libnjb-users@lists.sourceforge.net"
    | #define PACKAGE "libnjb"
    | #define VERSION "2.2.5"
    | /* end confdefs.h.  */
    | 
    | int
    | main ()
    | {
    | 
    |   ;
    |   return 0;
    | }
    configure:2366: error: C compiler cannot create executables
    so, any ideas on what to do next? Thanks.
Working...
X