This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/11420] New: undefined reference to "fmod", "dlopen", "sem_wait", "openpty"
- From: "robert dot bu at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 23 Mar 2010 07:55:36 -0000
- Subject: [Bug build/11420] New: undefined reference to "fmod", "dlopen", "sem_wait", "openpty"
- Reply-to: sourceware-bugzilla at sourceware dot org
When configure option has "with-python=/home/STools/GNU/python-2.6.5", the
configure script complains about can not find python-2.6, python-2.5,
python-2.4. The root cause is that the test case in configure can not be built
because of the undefined references mentioned in Summary.
I added "-lm -ldl -lrt -lutil" to "LIBS" in the function of "AC_TRY_LIBPYTHON"
in gdb/configure.ac.
My platform is Red Hat Enterprise Linux AS release 4 (Nahant Update 7).
--
Summary: undefined reference to "fmod", "dlopen", "sem_wait",
"openpty"
Product: gdb
Version: 7.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
AssignedTo: unassigned at sourceware dot org
ReportedBy: robert dot bu at gmail dot com
CC: gdb-prs at sourceware dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11420
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.