Steven Hicks wrote:
> After adding the header declaration I got this compiler error:
> arm-wince-cegcc-g++ -g -D_WIN32_IE=0x0400 -c Bluetooth.cpp

> Bluetooth.o: In function `Bluetooth_CreateServer()':
> /home/steven/gizdev/GPS2Bth/Bluetooth.cpp:226: undefined reference to
> `RegisterDevice(wchar_t const*, unsigned long, wchar_t const*, unsigned
> long)'
> Bluetooth.o: In function `Bluetooth_Exit()':
> /home/steven/gizdev/GPS2Bth/Bluetooth.cpp:76: undefined reference to
> `DeregisterDevice(void*)'

> 
> The code compiles fine but whenit gets to including the library it fails right
> there. Am I missing something?
> 

extern "C"

Cheers,
Pedro Alves



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to