Bug#263139: gnomemeeting_1.0.2-4_hppa: FTBFS: undefined reference

Steve Langasek Steve Langasek <vorlon@debian.org>, 263139@bugs.debian.org
Fri, 13 Aug 2004 01:50:13 -0700


--QLVwfW7TUsi22t4P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> g++ -Wall -g -O2 -o gnomemeeting callbacks.o gdkvideoio.o gnomemeeting.o =
connection.o endpoint.o menu.o toolbar.o pref_window.o sound_handling.o vid=
eograbber.o config.o ldap_window.o main_window.o gatekeeper.o ils.o misc.o =
chat_window.o druid.o urlhandler.o vfakeio.o tray.o tools.o lid.o codec_inf=
o.o -Wl,--export-dynamic  -pthread -L/usr/X11R6/lib /usr/lib/libesd.so /usr=
/lib/libaudiofile.so /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonobo=
ui-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpop=
t.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-=
x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgd=
k_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/=
lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libbonobo-2.so /usr=
/lib/libgconf-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-activation.=
so /usr/lib/libORBit-2.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.=
0.so /usr/lib/libglib-2.0.so -llber -lldap /usr/lib/libSDL.so -lopenh323 -l=
dl -lpt ../lib/.libs/libgnomemeeting.a -lpthread -lz -lm /usr/lib/libxml2.s=
o -lresolv
> connection.o(.gnu.linkonce.r._ZTV16GMH323Connection+0x1f0):/build/buildd/=
gnomemeeting-1.0.2/src/connection.cpp:123: undefined reference to `H323Conn=
ection::OnUserInputInlineRFC2833(OpalRFC2833Info&, int)'

> quoting Craig Southeren, you could try this to fix it:
> >Craig: Obviously the functions exist in the header file, because you
> >would have got compile errors if not
> >Craig: So these are linker problems
> >Craig: Here is something you might try
> >Craig: I can see the linker line has this:
> >Craig: -lopenh323 -ldl -lpt ../lib/.libs/libgnomemeeting.a=20
> >Craig: It should be:
> >Craig: ../lib/.libs/libgnomemeeting.a -lopenh323=20
> >Craig: Otherwise you may get the kind of problem you are seeing
> >Craig: The order of libraries *is* important under Unix

> >If this will work, we'll prepare a new upload to fix this issue.

> I think you should try. Alternatively, you could post the question to
> the debian-devel mailing list.

No, this won't work.  The error message shows connection.o is the object
file containing the unresolved reference.  All of the libraries are
listed on the linker line after connection.o.  This means that *none* of
the libraries listed here provide the missing symbol, and reordering
them will have no effect.

The problem lies elsewhere.  One possibility is that libopenh323 was
built with a different C++ compiler on hppa than the one being used for
gnomemeeting.

--=20
Steve Langasek
postmodern programmer

--QLVwfW7TUsi22t4P
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBHIDEKN6ufymYLloRAmlFAKDNP/Yrq3st6rkHpKu9SlMDt2lIuwCfX99G
TxB78/iFYKEwMU8DwU1T790=
=a7VD
-----END PGP SIGNATURE-----

--QLVwfW7TUsi22t4P--