Re: Compilation Errors
- From: Diego Sevilla Ruiz <dsevilla ditec um es>
- To: orbit-list gnome org
- Subject: Re: Compilation Errors
- Date: Mon, 08 Oct 2001 15:45:50 +0200
Dear Murali:
Be sure to compile the client sources adding the
`orbit-config --cflags client`
output to the compilation line and also the
`orbit-config --libs client`
output when linking. Same, but using "server" when compiling and linking the
server.
For example:
gcc -c calc-client.c `orbit-config --cflags client`
gcc -c ...stubs... `orbit-config --cflags client`
gcc -o calc-client `orbit-config --libs client` calc-client.o ...stubs.o...
Best regards and hope this helps.
diego.
Murali Ravirala wrote:
> Hi All,
>
> I have installed ORBit orb. But when I try to compile a simple Calculator
> program, I get the following errors.
>
> calc-client.o(.text+0x26): undefined reference to `CORBA_exception_init'
> calc-client.o(.text+0x3f): undefined reference to `CORBA_ORB_init'
> calc-client.o(.text+0x5c): undefined reference to `CORBA_ORB_string_to_object'
> calc-client.o(.text+0xb9): undefined reference to `CORBA_object_release'
> Calculator-stubs.o: In function `Calculator_add':
> Calculator-stubs.o(.text+0x32): undefined reference to `Calculator__classid'
> Calculator-stubs.o(.text+0x40): undefined reference to `Calculator__classid'
> Calculator-stubs.o(.text+0x9f): undefined reference to
> `_ORBit_object_get_connection'
> Calculator-stubs.o(.text+0xc6): undefined reference to
> `ORBit_default_principal_iovec'
>
> ..and lot more similar errors
>
> Does anyone know how to fix this?
>
> TIA,
> Murali.
>
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
--
Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es
Dep. Ingeniería y Tecnología de Computadores, Facultad de Informática
Univ.de Murcia,Campus Espinardo,30080 Murcia (SPAIN),Tel.+34968367658
lynx -dump ditec.um.es/~dsevilla/face |uncompface | ikon2xbm |display
PGP: http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xC9B964B7
perl -e'$_="\x4\@FLe\x2&B";for(/../g){print unpack("b*",$_),"\n"}'|tr 01 " #"
(lambda x,f=lambda x,f:x and x[-1]+f(x[:-1],f):f(x,f))('se.mu@allivesd')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]