RE: Linking (Again)
- From: Murray Cumming Comneon com
- To: jcronje dsp sun ac za, orbitcpp-list gnome org
- Subject: RE: Linking (Again)
- Date: Thu, 5 Jun 2003 08:42:44 +0200
> From: Johan Cronje [mailto:jcronje dsp sun ac za]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I sorted out most of my linking troubles (didn't see the
> "extern" functions in
> some of the generated files). I was wondering if someone
> could please point
> me in the right direction with the last few. Included is an
> extract of my
> generated sdr_corba.h file (generated using orbit-idl-2
> --noskels --nostubs
> - --nocommon sdr_corba.idl):
> #ifdef ORBIT_IDL_C_IMODULE_sdr_corba
> const struct CORBA_TypeCode_struct
> #define TC_sdr_corba_component_name
> Now, the linker complains that "sdr_corba.o(.rodata+0x78):
> undefined reference
> to `TC_sdr_corba_component_name_struct'". So I suspect that I must
> instanciate this variable, but my question is: how and where?
> Sorry if this seems trivial, but I'm quite new to all this. I
> get similar
> errors when I try to compile the examples in the "test"
> directory that comes
> with the orbitcpp source, so working through them didn't
> solve my problem.
Maybe you are not generating/building/linking the C stubs/skels. Do look at
the libbonobomm makefiles for clues.
murrayc usa net
Remember to use the "Reply To All" feature with mailing lists.
] [Thread Prev