Re: [opendbx] Error in odbx.h
Brought to you by:
nose
From: Norbert S. <no...@li...> - 2008-01-14 09:59:22
|
Hi Mariano > make all > cc -c -o Prueba.o Prueba.c > g++ -o Prueba Prueba.o > Prueba.o: In function `main': > Prueba.c:(.text+0x3c): undefined reference to `odbx_init' > Prueba.c:(.text+0x57): undefined reference to `odbx_error' > collect2: ld returned 1 exit status > make: *** [Prueba] Error 1 > > it doesn't find the reference....do you know what can it be ? Don't forget to add the OpenDBX library for linking: g++ -o Prueba.o Prueba.c -lopendbx or use the pkg-config tool Norbert =2D-=20 OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc |