#88 compile error 1.1.7 - libcdda_paranoia.so: undefined referen

closed
nobody
None
5
2005-05-03
2004-01-12
daniell
No

Hi!

I'm trying to compile cdrdao 1.1.7 on my system, and always
getting this error:

----------------------------###----------------------------
g++ -L/home/leva/lib -L/usr/lib -L/usr/local/lib -L/lib
-L/usr/local/kde/lib -L/usr/local/qt/lib -o cdrdao main.o -L. -ldao
-L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb
-L../scsilib/export -lscg -lschily -lpthread -lnsl
./libdao.a(CdrDriver.o): In function
`CdrDriver::readAudioRangeParanoia(CdrDriver::ReadDiskInfo
*, int, long, long, int, int, TrackInfo *)':
/home/leva/Download/cdrdao-1.1.7/dao/CdrDriver.cc:4249:
undefined reference to `paranoia_set_range'
/usr/local/lib/libcdda_paranoia.so: undefined reference to
`cdda_sector_gettrack'
/usr/local/lib/libcdda_paranoia.so: undefined reference to
`cdda_tracks'
/usr/local/lib/libcdda_paranoia.so: undefined reference to
`cdda_track_lastsector'
/usr/local/lib/libcdda_paranoia.so: undefined reference to
`cdda_track_audiop'
/usr/local/lib/libcdda_paranoia.so: undefined reference to
`cdda_track_firstsector'
/usr/local/lib/libcdda_paranoia.so: undefined reference to
`cdda_disc_firstsector'
/usr/local/lib/libcdda_paranoia.so: undefined reference to
`cdda_disc_lastsector'
collect2: ld returned 1 exit status
make[1]: *** [cdrdao] Error 1
make[1]: Leaving directory
`/home/leva/Download/cdrdao-1.1.7/dao'
make: *** [all] Error 1
----------------------------###----------------------------

I'm running a simple ./configure before the 'make' command.
My system:
linux-2.6.1 kernel
cdparanoia-III-alpha9.8
gcc-2.95.4
g++-2.95.4
glibc-2.2.5-11.5

I've compiled the cdparanoia libs twice (and rerun ldconfig), but
still don't compile.
Tried to symlink the /usr/src/linux back to the 2.4* kernel, but
that wasn't solve the problem neither.

What could be the problem?

Thanks!

Daniel

Discussion

  • Denis Leroy
    Denis Leroy
    2005-05-03

    • status: open --> closed
     
  • Denis Leroy
    Denis Leroy
    2005-05-03

    Logged In: YES
    user_id=95186

    Out of date. cdrdao needs its own version of paranoia (which
    contains custom modifications), you can't link it against a
    stock paranoia package.