Re: undefined reference to `UpnpInit'

Thang <[email protected]> Thu, 18 Jan 2007 16:47:03 +0100
Newsgroups gmane.linux.upnp-sdk.general
Message-ID <[email protected]>
Hi Bob,

what is the meaning of "Idconfig". Sorry for that question but I am a =

beginner of linux.

Thang


ext [email protected] wrote:
>
> Thang,
>
> Did you run 'ldconfig' after you did a 'make install' on the main =

> libupnp library?
>
> I've seen this exact same error when I forgot to run ldconfig. You'll =

> have to be in superuser/root mode to run it (just like "make install").
>
> Bob Ciora
>
>
>
>
>
>
>
>
>
>
> *Thang <[email protected]>*
> Sent by: [email protected]
> 01/18/2007 07:44 AM 	=

> To
> 	[email protected]
> cc
> 	=

> Subject
> 	Re: [UPnP-SDK-discuss] undefined reference to `UpnpInit'
>
>
>
> 	=

>
>
>
>
>
> Hi Kitty,
>
> I already try your suggestion using command :
>
> "g++ -I/home/upnp/include/upnp -L/home/upnp/libupnp.a test_init.c"
>
> The message after compiling is still the same:
>
> "/tmp/ccxrFJde.o: In function `main':
> test_init.c:(.text+0xf1): undefined reference to `UpnpInit'
> .......
> collect2: ld returned 1 exit status" :-(
>
> I also check the library libupnp.a if it contains the function UpnpInit.
>
>
> You wrote: "By this, U would know if by chance upnpapi.c which has the =

> function
> UpnpInit is excluded by any compile time option."
>
> Where can I find this c-file? In my opinion the UpnpInit is included. =

> I have check it in the package "libupnp-1.3.1"
>
> Do you another ideas????
> Maybe the installation wasn't successfully?
>
> br,
> Thang
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to =

> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
> _______________________________________________
> UPnP-SDK-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/upnp-sdk-discuss
>
>
>
>
>
> _________________________________________________________________________=
______________________________________ =

>
> This e-mail communication (and any attachment/s) may contain =

> confidential or privileged information and is intended only for the =

> individual(s) or entity named above and to others who have been =

> specifically authorized to receive it. If you are not the intended =

> recipient, please do not read, copy, use or disclose the contents of =

> this communication to others. Please notify the sender that you have =

> received this e-mail in error by reply e-mail, and delete the e-mail =

> subsequently. Please note that in order to protect the security of our =

> information systems an AntiSPAM solution is in use and will browse =

> through incoming emails.
> Thank you.
> _________________________________________________________________________=
________________________________________ =

>
>
> Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut =

> contenir des renseignements confidentiels ou prot=E9g=E9s et est destin=
=E9 =E0 =

> l=92usage exclusif du destinataire ci-dessus. Toute autre personne est =

> par les pr=E9sentes avis=E9e qu=92il est strictement interdit de le =

> diffuser, le distribuer ou le reproduire. Si vous l=92avez re=E7u par =

> inadvertance, veuillez nous en aviser et d=E9truire ce message. Veuillez =

> prendre note qu'une solution antipollupostage (AntiSPAM) est utilis=E9e =

> afin d'assurer la s=E9curit=E9 de nos systems d'information et qu'elle =

> fur=E8tera les courriels entrant.
> Merci.
> _________________________________________________________________________=
________________________________________ =

>
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV