[Samba] gdb compile error

Gerald (Jerry) Carter jerry at samba.org
Wed Nov 19 14:54:04 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ww m-pubsyssamba wrote:

| ok I know this isn't realy a samba issue but I'm trying
| to gather some debug info on winbindd for the samba
| development guys, but I can't compile gdb 5.x or 6.0
| on my solaris 9 box! Every other compile problem
| I've come across I've resolved by searching through
| google but not this time. If anyone can help I'd
| really appreciate it, problem is (using gcc 3.3.2)


You might save yourself some trouble and just grab
a package from http://sunfreeware.com/

| gcc -g -O2  -I/usr/include/v9     \
|         -o gdb gdb.o main.o cli-dump.o cli-decode.o
....
| Undefined                       first referenced
|  symbol                             in file
| libintl_textdomain                  main.o
| libintl_dgettext                    ../bfd/libbfd.a(bfd.o)
| libintl_gettext                     main.o
| libintl_bindtextdomain              main.o
| ld: fatal: Symbol referencing errors. No output written to gdb
| collect2: ld returned 1 exit status
| make[1]: *** [gdb] Error 1
| make[1]: Leaving directory `/tmp/gdb-6.0/gdb'
| make: *** [all-gdb] Error 2

or try linking with -libintl IIRC.


- --
cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/u4QMIR7qMdg1EfYRAh+uAKCUduthOzUinK7bRt2Jw19nTn7JEgCgtZBd
071DyAXs7563JBeqjoyTcck=
=qVFy
-----END PGP SIGNATURE-----




More information about the samba mailing list