This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/11420] New: undefined reference to "fmod", "dlopen", "sem_wait", "openpty"


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]