linker Problem
"Giovanni Marino" <[email protected]> Mon, 24 Apr 2006 16:06:39 +0200
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <[email protected]> |
--===============569764130273261== Content-Type: multipart/alternative; boundary="----=_Part_7609_23185908.1145887599092" ------=_Part_7609_23185908.1145887599092 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I tried to implement the example of the Orbacus manual (Hello World), but the linker give me these error-messages: g++ -o client Client.o Hello.o Client.o(.text+0x3f): In function `main': : undefined reference to `CORBA::ORB_init(int&, char**, char const*, char const*)' Client.o(.gcc_except_table+0x2c): undefined reference to `typeinfo for CORBA::Exception' What does this behavior depend on? Thank you and regards Giovanni ------=_Part_7609_23185908.1145887599092 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div>I tried to implement the example of the Orbacus manual (Hell= o World), but the linker give me these error-messages:</div> <div><span lang=3D"EN-GB" style=3D"mso-ansi-language: EN-GB"><font face=3D"= Courier New" size=3D"2"></font></span> </div> <div><span lang=3D"EN-GB" style=3D"mso-ansi-language: EN-GB"><font face=3D"= Courier New" size=3D"2">g++ -o client Client.o Hello.o Client.o(.text+0x3f)= : In function `main': </font></span></div> <div><span lang=3D"EN-GB" style=3D"mso-ansi-language: EN-GB"><font face=3D"= Courier New" size=3D"2">: undefined reference to `CORBA::ORB_init(int&,= char**, char const*, char const*)'</font></span></div><span lang=3D"EN-GB"= style=3D"mso-ansi-language: EN-GB"> <p class=3D"MsoPlainText" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-GB= " style=3D"mso-ansi-language: EN-GB"><font face=3D"Courier New" size=3D"2">= Client.o(.gcc_except_table+0x2c): undefined reference to `typeinfo for CORB= A::Exception' </font><br></span></p> <div> </div> <div> </div> <div>What does this behavior depend on? </div> <div>Thank you and regards</div> <div>Giovanni<br> </div></span> <div> </div> <div> </div> <div> </div> ------=_Part_7609_23185908.1145887599092-- --===============569764130273261== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html --===============569764130273261==--