[MWy] make example uloha c. 2

Lubos Pis lubbo at zoznam.sk
Sun Mar 29 11:27:03 CEST 2009


Zdravim

pri pokuse o make Example ulohy c. 2 mi odpovie vypis, ktory pripajam 
dole. S omniORB, ktory bol referencovany v slidoch som mal problemy 
(pouzivam OpenSolaris), ale scompiloval som si sam tu istu verziu. 
Nemate niekto tip, cim by to mohlo byt, resp. ako by sa to mohlo 
riesit?

dakujem

Lubos Pis

g++ -o server -Wl,-rpath /usr/local/lib -L /usr/local/lib -lomniORB4 
-lomniDynamic4 simpleSK.o server.o
ld: warning: file /usr/local/lib/libomniORB4.so: section .strtab: 
malformed string table, initial or final byte
ld: warning: file /usr/local/lib/libomniDynamic4.so: section .strtab: 
malformed string table, initial or final byte
Undefined			first referenced
  symbol  			    in file
recv                                /usr/local/lib/libomniORB4.so
send                                /usr/local/lib/libomniORB4.so
__xnet_connect                      /usr/local/lib/libomniORB4.so
__xnet_socket                       /usr/local/lib/libomniORB4.so
getsockname                         /usr/local/lib/libomniORB4.so
accept                              /usr/local/lib/libomniORB4.so
gethostbyname_r                     /usr/local/lib/libomniORB4.so
listen                              /usr/local/lib/libomniORB4.so
gethostbyaddr                       /usr/local/lib/libomniORB4.so
setsockopt                          /usr/local/lib/libomniORB4.so
getpeername                         /usr/local/lib/libomniORB4.so
inet_addr                           /usr/local/lib/libomniORB4.so
__xnet_bind                         /usr/local/lib/libomniORB4.so
omni_thread::init_t::~init_t()      simpleSK.o  (symbol belongs to 
implicit dependency /usr/local/lib/libomnithread.so.3)
omni_thread::init_t::init_t()       simpleSK.o  (symbol belongs to 
implicit dependency /usr/local/lib/libomnithread.so.3)
shutdown                            /usr/local/lib/libomniORB4.so
ld: fatal: Symbol referencing errors. No output written to server
collect2: ld returned 1 exit status
make: *** [server] Error 1




More information about the NSWI080 mailing list