Compiling error on Scientific Linux 3

Help
Dr.Bokko
2005-08-22
2013-04-29
  • Dr.Bokko
    Dr.Bokko
    2005-08-22

    I'm compiling on SL3 (RedHat Ent. Linux 3 based distribution)
    and I receive the following error:

    mkdir .libs
    g++ -O2 -fno-exceptions -fno-check-new -s -o .libs/plpftp ftp.o main.o rlcrap.o  ../lib/.libs/libplp.so -lreadline -ltermcap -lhistory -lnsl -Wl,--rpath -Wl,/usr/local/lib
    main.o(.text+0x62b): In function `main':
    : undefined reference to `Enum<rfsvfactory::errs>::staticData'
    collect2: ld returned 1 exit status
    make[1]: *** [plpftp] Error 1
    make[1]: Leaving directory `/afs/ifh.de/user/b/boccone/Tools/plptools-0.13/plpftp'
    make: *** [all-recursive] Error 1
    [dryade23] ~/Tools/plptools-0.13 >

    any idea?

    cheers
    Dr.Bokko

     
    • Reuben Thomas
      Reuben Thomas
      2005-08-22

      You need to use g++ 3.4. 3.3 or earlier won't work, and for 4.0 or later you need to use the version in CVS.

       
    • Dr.Bokko
      Dr.Bokko
      2005-08-23

      Perfect it works fine!
      Thanks a lot.
      Dr.Bokko