RE: Linker Errors
- From: Murray Cumming Comneon com
- To: jcronje dsp sun ac za, orbit-list gnome org
- Subject: RE: Linker Errors
- Date: Sat, 31 May 2003 15:43:40 +0200
This is not the orbitcpp list. Please see http:://orbitcpp.sourceforge.net
You do not seem to be linking with any orbitcpp stuff. pkgconfig would make
your life easier.
Murray Cumming
murrayc@usa.net
www.murrayc.com
> -----Original Message-----
> From: Johan Cronje [mailto:jcronje@dsp.sun.ac.za]
> Sent: Freitag, 30. Mai 2003 22:24
> To: orbit-list@gnome.org
> Subject: Linker Errors
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there
>
> I am trying to compile an application using the following tools:
>
> gcc-3.3-23
> orbit2-2.6.0-21
> orbitcpp-1.3.5
>
> on SuSE 8.2. However, I suspect that I am not linking
> correctly, as my app
> compiles to an object (.o) file, but it does not want to link
> correctly.
>
> An extract of the Makefile:
> sdr_corba : sdr_corba.o
> g++ sdr_corba.o \
> -lpthread \
> -lORBit-2 \
> -lORBitutil \
> -lIDL-2 \
> -llinc \
> -lgmodule-2.0 \
> -ldl \
> -lgobject-2.0 \
> -lgthread-2.0 \
> -lglib-2.0 \
> -lm \
> -lname-server-2 \
> --export-dynamic \
> -o sdr_corba 2> linker_errors
>
> An extract of the linker_errors:
> sdr_corba.o(.text+0x13): In function
> `sdr_corba::sdr_subcontroller::_duplicate(_orbitcpp::stub::sdr
> _corba::sdr_subcontroller*)':
> : undefined reference to `CORBA::Object::_orbitcpp_cobj()'
>
> sdr_corba.o(.text+0x67): In function
> `_orbitcpp::stub::sdr_corba::sdr_subcontroller::return_attributes()':
> : undefined reference to
> `_orbitcpp::CEnvironment::CEnvironment[in-charge]()'
>
> sdr_corba.o(.text+0x7e7): In function
> `POA_sdr_corba::sdr_subcontroller::sdr_subcontroller[not-in-ch
> arge]()':
> : undefined reference to
> `_orbitcpp::CEnvironment::CEnvironment[in-charge]()'
>
>
> To which other files must I link? The above list I got from
> the documentation
> on orbit2, echo example.
>
> Also, (just for interest's sake) using the c backend
> generates a -skelimpl.c
> file with the --skeleton-impl option, but the cpp backend
> does not generate
> something similar. Is this correct? And how do I generate
> files with a .cpp
> extension in stead of .cc?
>
>
> Best Regards and thanks in advance
> Johan
> - --
> "Do all things without murmurings and disputings;
> that ye may be blameless and harmless, the sons of
> God, without rebuke, in the midst of a crooked and
> perverse nation, among whom ye shine as lights in the
> world." Philippians 2:14,15
>
> -
> --------------------------------------------------------------
> ------------------
>
> "There is beauty in simplicity" -- Johan Cronje
>
> -
> --------------------------------------------------------------
> ------------------
> Johan Cronje
>
> Digital Signal Processing / Telecommunications Group
> Room E355
> Department Electrical and Electronic Engineering
> University of Stellenbosch
>
> jcronje@dsp.sun.ac.za
> http://www.dsp.sun.ac.za/~jcronje
> GPG Key: http://www.dsp.sun.ac.za/~jcronje/jcronje.asc
> -
> --------------------------------------------------------------
> ------------------
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
>
> iD8DBQE+173OtFKZVBigPpsRAhbDAJ9ySYB2XORBqk0YxlaCetZxv2Kr6wCeKveE
> 9IP4PIqD5crBY1rEZiQ83lQ=
> =7M1z
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
>
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]