From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2126 invoked by alias); 8 Mar 2007 10:36:34 -0000 Received: (qmail 2117 invoked by uid 22791); 8 Mar 2007 10:36:33 -0000 X-Spam-Check-By: sourceware.org Received: from static-212.214.83.78.addr.tdcsong.se (HELO smtp1.mobeon.com) (212.214.83.78) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Mar 2007 10:36:31 +0000 Received: from smtp1 (unknown [127.0.0.1]) by smtp1.mobeon.com (Symantec Mail Security) with ESMTP id D82FC1EFF for ; Thu, 8 Mar 2007 11:36:28 +0100 (MET) X-AuditID: d4d6534b-00000009000007be-55-45efe72c7a1c Received: from vale.mobeon.com (static-212.214.83.65.addr.tdcsong.se [212.214.83.65]) by smtp1.mobeon.com (Symantec Mail Security) with ESMTP id 7DD991ED2 for ; Thu, 8 Mar 2007 11:36:28 +0100 (MET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Link problem with 64bit gdb 6.6 on solaris 8 Date: Thu, 08 Mar 2007 10:36:00 -0000 Message-ID: <9B488A5E8C00084C82DB19AF2E713C2202372DE8@vale.MOBEON.COM> From: "Stefan Berglund" To: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00120.txt.bz2 Hi, I ran into trouble with this configuration: (this is supposed to build a 64-bit version of gdb - is it wrong?) CC=3Dgcc CPPFLAGS=3D'-D__EXTENSIONS__' CFLAGS=3D'-m64' ./configure --disable-tui The --disable-tui was added because of another linking error, I found the tip after some googling. This is the linking error: gcc -m64 \ -o gdb gdb.o libgdb.a \ ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a ./../intl/libintl.a ../libiberty/libiberty.a -ldl -lcurses -lsocket -lnsl -lm ../libiberty/libiberty.a=20=20 Undefined first referenced symbol in file tui_set_layout_for_display_command libgdb.a(printcmd.o) tui_show_assembly libgdb.a(cli-cmds.o) tui_get_low_disassembly_address libgdb.a(cli-cmds.o) tui_active libgdb.a(cli-cmds.o) tui_get_command_dimension libgdb.a(utils.o) tui_is_window_visible libgdb.a(cli-cmds.o) ld: fatal: Symbol referencing errors. No output written to gdb collect2: ld returned 1 exit status make[2]: *** [gdb] Error 1 make[2]: Leaving directory `/opt/dist/prg/gdb-6.6/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/opt/dist/prg/gdb-6.6' make: *** [all] Error 2 Any tips are apprecciated! Stefan