Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

gnuplot emerge fails on AMD64

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
ThomasJ02
n00b
n00b
Posts: 38
Joined: Wed Aug 27, 2003 11:23 pm

gnuplot emerge fails on AMD64

  • Quote

Post by ThomasJ02 » Tue Jul 04, 2006 11:48 pm

Hello,

I'm seeing this weird error when trying to emerge gnuplot on my AMD64 box:

Code: Select all

x86_64-pc-linux-gnu-gcc  -march=k8 -O3 -pipe  -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -L/usr/lib64 -o bf_test  bf_test.o binary.o alloc.o
x86_64-pc-linux-gnu-gcc  -march=k8 -O3 -pipe  -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -L/usr/lib64 -o gnuplot_x11  gplt_x11.o gpexecute.o getcolor_x11.o -L/usr/lib64 -lX11
gplt_x11.o: In function `display':
gplt_x11.c:(.text+0x35e2): undefined reference to `sin'
gplt_x11.c:(.text+0x35fa): undefined reference to `cos'
gplt_x11.c:(.text+0x39a4): undefined reference to `rint'
gplt_x11.c:(.text+0x39db): undefined reference to `rint'
gplt_x11.c:(.text+0x3e18): undefined reference to `sin'
gplt_x11.c:(.text+0x3e53): undefined reference to `cos'
gplt_x11.o: In function `process_event':
gplt_x11.c:(.text+0x80f5): undefined reference to `exp'
gplt_x11.c:(.text+0x8107): undefined reference to `exp'
gplt_x11.c:(.text+0x812a): undefined reference to `exp'
gplt_x11.c:(.text+0x813c): undefined reference to `exp'
gplt_x11.o: In function `main':
gplt_x11.c:(.text+0xa6ec): undefined reference to `pow'
gplt_x11.c:(.text+0xa76f): undefined reference to `pow'
getcolor_x11.o: In function `GetColorValueFromFormula':
getcolor.c:(.text+0x5e3): undefined reference to `cos'
getcolor.c:(.text+0x602): undefined reference to `sin'
getcolor.c:(.text+0x653): undefined reference to `sin'
getcolor.c:(.text+0x6ba): undefined reference to `sqrt'
getcolor.c:(.text+0x6e6): undefined reference to `sin'
getcolor.c:(.text+0x708): undefined reference to `cos'
getcolor.c:(.text+0x72a): undefined reference to `sin'
getcolor.c:(.text+0x74c): undefined reference to `cos'
getcolor.c:(.text+0x777): undefined reference to `cos'
getcolor.c:(.text+0x799): undefined reference to `sin'
getcolor.c:(.text+0x880): undefined reference to `cos'
getcolor.c:(.text+0x892): undefined reference to `sqrt'
getcolor_x11.o: In function `color_components_from_gray':
getcolor.c:(.text+0x9a1): undefined reference to `pow'
getcolor_x11.o: In function `rgb1_from_gray':
getcolor.c:(.text+0x12d8): undefined reference to `floor'
collect2: ld returned 1 exit status
make[3]: *** [gnuplot_x11] Error 1
make[3]: *** Waiting for unfinished jobs....
bf_test.o: In function `function':
bf_test.c:(.text+0xaa): undefined reference to `sin'
bf_test.c:(.text+0xed): undefined reference to `sin'
bf_test.c:(.text+0x11a): undefined reference to `sin'
collect2: ld returned 1 exit status
make[3]: *** [bf_test] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnuplot-4.0-r1/work/gnuplot-4.0.0'
make: *** [all] Error 2

!!! ERROR: sci-visualization/gnuplot-4.0-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  gnuplot-4.0-r1.ebuild, line 68:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

I thought stuff like sin and cos were linked in by default? Any thoughts on how to fix this issue?
Top
Post Reply
1 post • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic