Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9187 - lftp ebuild error
Summary: lftp ebuild error
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-16 00:25 UTC by Sil
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sil 2002-10-16 00:25:06 UTC
when trying to compile "lftp" on gentoo version 1.2 I get this compile error:

./.libs/cmd-mirror.a(MirrorJob.o): In function `cmd_mirror(CmdExec *)':
MirrorJob.o(.text+0x2dfe): undefined reference to `PatternSet::Regex::Error(void)'
MirrorJob.o(.text+0x2e16): undefined reference to
`PatternSet::Regex::ErrorText(void)'
MirrorJob.o(.text+0x35f2): undefined reference to `MirrorJob::SetFlags(int, int)'
MirrorJob.o(.text+0x3608): undefined reference to `MirrorJob::SetVerbose(int)'
MirrorJob.o(.text+0x361e): undefined reference to
`MirrorJob::SetExclude(PatternSet *)'
MirrorJob.o(.text+0x3654): undefined reference to `MirrorJob::UseCache(bool)'
MirrorJob.o(.text+0x366c): undefined reference to
`MirrorJob::RemoveSourceFiles(void)'
MirrorJob.o(.text+0x36a2): undefined reference to `MirrorJob::SetParallel(int)'
./.libs/cmd-sleep.a(SleepJob.o): In function `SleepJob::Do(void)':
SleepJob.o(.text+0x1e3): undefined reference to `SMTask::TimeoutS(int)'
SleepJob.o(.text+0x27e): undefined reference to `Job::SetParentFg(Job *, bool)'
SleepJob.o(.text+0x378): undefined reference to `SMTask::TimeoutS(int)'
./.libs/cmd-sleep.a(SleepJob.o): In function `cmd_repeat(CmdExec *)':
SleepJob.o(.text+0x6e5): undefined reference to `SleepJob::Repeat(void)'
collect2: ld returned 1 exit status
make[1]: *** [lftp] Error 1
make[1]: Leaving directory `/var/tmp/portage/lftp-2.6.2/work/lftp-2.6.2/src'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 47, Exitcode 2
!!! compile problem

Thanks for any help.
Comment 1 Nick Hadaway 2002-10-17 13:38:46 UTC
I have compile and installed lftp on both gcc2 and gcc3 based systems without a 
problem

What are your CFLAGS set to?
Comment 2 Sil 2002-10-17 13:48:00 UTC
After checking my "/etc/make.conf" and "make.conf.build" I found that
CFLAGS were not set in "make.conf", but were set in "make.conf.build".
Thanks for the tip. 
I'm going to install gentoo on another box to see if this is my mistake or
the installers mistake. 

Comment 3 Nick Hadaway 2002-10-26 15:43:19 UTC
Are you still working at this?  Let me know what's up.
Comment 4 Sil 2002-10-26 16:00:25 UTC
Seems to only have happened on my install. I think it's fixed. 
Thanks.