RE: Examples



You should also compile and link the hello-stubs.c and hello-common.c
sources. Compile them separately and link them with hello.c

> ----------
> From: 	Rene Maldonado[SMTP:remal telnor com]
> Reply To: 	orbit-list gnome org
> Sent: 	Monday 9 October 2000 19:35
> To: 	orbit-list gnome org
> Subject: 	Examples
> 
> <<File: remal.vcf>>
> Hi all, I'm new to ORBit and gcc, I have some preblems compiling the
> helloWorld example of
> http://www.nd.edu/~rgarcia4/orbit/examples/example1/  if any one know
> what can I do or where can I get some information that could helpme I'll
> be very grateful.
> 
> 
> The errors are:
> 
> [rema linux-des hello]$ gcc -I/usr/lib/glib/include -I /usr/include
> -L/usr/lib/ -lORBit -lIIOP -lORBitutil -lglib -lm hello.c -o HH
> /tmp/cc0POJet.o: In function `main':
> /tmp/cc0POJet.o(.text+0x6c): undefined reference to `poa_hello_servant'
> /tmp/cc0POJet.o(.text+0x71): undefined reference to `POA_hello__init'
> /tmp/cc0POJet.o(.text+0x7e): undefined reference to `poa_hello_servant'
> collect2: ld returned 1 exit status
> 
> 
> Thanks
> 
> Rene
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]