View previous topic :: View next topic |
Author |
Message |
gatiba Guru


Joined: 01 Sep 2002 Posts: 434
|
Posted: Tue Dec 30, 2003 10:01 pm Post subject: Cdrdao compile problem... |
|
|
Hi to all !
I'll be short: i have a problem on compiling cdrdao-1.1.7-r2, 1.1.7.-r3 and 1.1.8-pre2.
It returns me this error:
Code: | g++ -o cdrdao main.o -L. -ldao -L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb -L../scsilib/export -lscg -lschily -lpthread -lnsl
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscg
collect2: ld returned 1 exit status
distcc[4715] ERROR: compile on localhost failed with exit code 1
make[1]: *** [cdrdao] Error 1
make[1]: Leaving directory `/usr/local/src/cdrdao-1.1.7/dao'
make: *** [all] Error 1 |
I can't understand what's meaning "cannot find -lscg"...
Tx in advance !  |
|
Back to top |
|
 |
d_f0rce n00b

Joined: 06 Oct 2002 Posts: 27
|
Posted: Tue Dec 30, 2003 10:19 pm Post subject: |
|
|
cdrdao needs libscg. libscg is part of cdrtools but seems to no longer get installed. I upgraded my cdrtools some minutes ago and can't install cdrdao, too now.
I think about downgrading my cdrtools again but it could be that libscg was not compiled because I'm using kernel 2.6 now. Which kernel version do you use and which version of cdrtools do you have installed?
Greets,
d_f0rce |
|
Back to top |
|
 |
gatiba Guru


Joined: 01 Sep 2002 Posts: 434
|
Posted: Wed Dec 31, 2003 8:14 am Post subject: |
|
|
I was trying cdrtools 2.01_alpha20 with gaming-sources...
Tx for the answer i'll try to downgrade cdrtools !  |
|
Back to top |
|
 |
gatiba Guru


Joined: 01 Sep 2002 Posts: 434
|
Posted: Wed Dec 31, 2003 8:21 am Post subject: |
|
|
ARGHHH !!!
I can't downgrade cdrtools to cdrtools-2.01_alpha14 !
Same error!!!
Code: | /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscg
collect2: ld returned 1 exit status
make[1]: *** [OBJ/x86-linux-cc/scgcheck] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrtools-2.01_alpha14/work/cdrtools-2.01/scgcheck'
make: *** [all] Error 2
!!! ERROR: app-cdr/cdrtools-2.01_alpha14 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)
bash-2.05b# |
|
|
Back to top |
|
 |
snekiepete Guru


Joined: 07 May 2003 Posts: 306 Location: WISCONSIN
|
Posted: Sun Mar 07, 2004 12:52 am Post subject: |
|
|
# rm /usr/src/linux
# emerge cdrdao
should do the trick |
|
Back to top |
|
 |
pezplaya n00b

Joined: 19 Feb 2004 Posts: 58
|
Posted: Tue Mar 09, 2004 4:07 am Post subject: |
|
|
Why would you have to remove the your link to your kernel source in order for it to compile? |
|
Back to top |
|
 |
snekiepete Guru


Joined: 07 May 2003 Posts: 306 Location: WISCONSIN
|
Posted: Thu Mar 11, 2004 4:19 am Post subject: |
|
|
dont know, but it works |
|
Back to top |
|
 |
Yama Tux's lil' helper


Joined: 21 Jul 2002 Posts: 135 Location: Sydney, Australia
|
Posted: Thu Mar 11, 2004 8:07 am Post subject: emerge cdrtools cdrdao |
|
|
cdrdao need some parts of cdrtools. Here's how I fixed the problem: Code: | emerge cdrtools cdrdao | I don't know if this has any bearing on the compilation, but my /usr/src/linux symlink is pointing to the sources of the kernel that I'm currently using. |
|
Back to top |
|
 |
coldfire n00b

Joined: 27 Jan 2004 Posts: 53 Location: Edmonton, AB
|
Posted: Mon Mar 15, 2004 1:25 am Post subject: Fixed! |
|
|
I just encountered the same problem, but what Yama suggested fixed it. I wonder why emerging them together made the difference? I'm sure that I had cdrtools installed before I emerged cdrdao the first time....
coldfire |
|
Back to top |
|
 |
Hauser l33t


Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Mon Mar 15, 2004 11:36 pm Post subject: |
|
|
Exactly the same situation here! Thanks Yama!
I didn't install cdrtools before I tried to emerge cdrdao, it seems cdrtools should be specified as one of cdrdao's dependencies.
BTW, no problem with the /usr/src/linux symlink. _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
 |
Moraine n00b

Joined: 24 Mar 2004 Posts: 1
|
Posted: Wed Mar 24, 2004 4:27 pm Post subject: Cdrdao compile problem... |
|
|
I had the same problem.
Quote: | emerge cdrtools cdrdao |
This would not help
I'm not quite sure why it works, but it does the trick at least. I suppose there is some version-conflict of some libraries. So removing the symlink prevents the emerge finding some version of a lib it needs. I'm not sure if it will work lateron properly when you reestablish the symlink to /usr/src/linux.
cu
Moraine |
|
Back to top |
|
 |
|