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 realy appreciate it, problem is (using gcc 3.3.2)
gcc -g -O2 -I/usr/include/v9 \
-o gdb gdb.o main.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o
cli-setshow.o cli-utils.o cli-logging.o cli-interp.o mi-out.o mi-console.o
mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o
mi-cmd-disas.o mi-symbol-cmds.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o
libgdb.a \
../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a
../libiberty/libiberty.a -lsocket -lnsl -ldl -ltermcap -lsocket -lm -liconv
../libiberty/libiberty.a
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
thanks and apologies again for bending the list rules, Andy.
BBCi at http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views
which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use,
copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC
monitors e-mails sent or received.
Further communication will signify your consent to this.
-----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-----