Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cdrdao compile problem...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Tue Dec 30, 2003 10:01 pm    Post subject: Cdrdao compile problem... Reply with quote

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 ! :D
Back to top
View user's profile Send private message
d_f0rce
n00b
n00b


Joined: 06 Oct 2002
Posts: 27

PostPosted: Tue Dec 30, 2003 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Wed Dec 31, 2003 8:14 am    Post subject: Reply with quote

I was trying cdrtools 2.01_alpha20 8O with gaming-sources...

Tx for the answer i'll try to downgrade cdrtools ! :D
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Wed Dec 31, 2003 8:21 am    Post subject: Reply with quote

ARGHHH !!!

I can't downgrade cdrtools to cdrtools-2.01_alpha14 !
Same error!!!

:cry: :cry: :cry: :cry:

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
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Sun Mar 07, 2004 12:52 am    Post subject: Reply with quote

# rm /usr/src/linux
# emerge cdrdao

should do the trick
Back to top
View user's profile Send private message
pezplaya
n00b
n00b


Joined: 19 Feb 2004
Posts: 58

PostPosted: Tue Mar 09, 2004 4:07 am    Post subject: Reply with quote

Why would you have to remove the your link to your kernel source in order for it to compile?
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Thu Mar 11, 2004 4:19 am    Post subject: Reply with quote

dont know, but it works
Back to top
View user's profile Send private message
Yama
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 135
Location: Sydney, Australia

PostPosted: Thu Mar 11, 2004 8:07 am    Post subject: emerge cdrtools cdrdao Reply with quote

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
View user's profile Send private message
coldfire
n00b
n00b


Joined: 27 Jan 2004
Posts: 53
Location: Edmonton, AB

PostPosted: Mon Mar 15, 2004 1:25 am    Post subject: Fixed! Reply with quote

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
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Mon Mar 15, 2004 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Moraine
n00b
n00b


Joined: 24 Mar 2004
Posts: 1

PostPosted: Wed Mar 24, 2004 4:27 pm    Post subject: Cdrdao compile problem... Reply with quote

I had the same problem.
Quote:
emerge cdrtools cdrdao


This would not help :?:

Quote:
rm /usr/src/linux


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum