Hi!

I applied theese paches and after a few modifications (wich I send you later) I 
was able to compile the library itself on windows xp (msys/mingw), but the 
exaples fails with theese linker errors:
gcc -Wall -O2 -D_FORTIFY_SOURCE=2 -enable-auto-import -o irxfer.exe irxfer.o  
../lib/.libs/libopenobex.a -lusb -lws2_32 libmisc.a
irxfer.o(.text+0x44):irxfer.c: undefined reference to `_imp__OBEX_Init'
irxfer.o(.text+0x6d):irxfer.c: undefined reference to 
`_imp__IrOBEX_TransportConnect'
irxfer.o(.text+0x8b):irxfer.c: undefined reference to `_imp__OBEX_ObjectNew'
irxfer.o(.text+0xf2):irxfer.c: undefined reference to `_imp__OBEX_ObjectNew'
irxfer.o(.text+0x150):irxfer.c: undefined reference to 
`_imp__IrOBEX_ServerRegister'
irxfer.o(.text+0x173):irxfer.c: undefined reference to `_imp__OBEX_HandleInput'
libmisc.a(obex_io.o)(.text+0x271):obex_io.c: undefined reference to 
`_imp__OBEX_ObjectNew'
libmisc.a(obex_io.o)(.text+0x28f):obex_io.c: undefined reference to 
`_imp__OBEX_CharToUnicode'
libmisc.a(obex_io.o)(.text+0x2b6):obex_io.c: undefined reference to 
`_imp__OBEX_ObjectAddHeader'
libmisc.a(obex_io.o)(.text+0x2e8):obex_io.c: undefined reference to 
`_imp__OBEX_ObjectAddHeader'
libmisc.a(obex_io.o)(.text+0x320):obex_io.c: undefined reference to 
`_imp__OBEX_ObjectAddHeader'
libmisc.a(obex_io.o)(.text+0x353):obex_io.c: undefined reference to 
`_imp__OBEX_ObjectAddHeader'
libmisc.a(obex_put_common.o)(.text+0x4d):obex_put_common.c: undefined reference 
to `_imp__OBEX_ObjectGetNextHeader'
libmisc.a(obex_put_common.o)(.text+0x149):obex_put_common.c: undefined 
reference to `_imp__OBEX_UnicodeToChar'
libmisc.a(obex_put_common.o)(.text+0x1de):obex_put_common.c: undefined 
reference to `_imp__OBEX_ObjectSetRsp'
libmisc.a(obex_put_common.o)(.text+0x213):obex_put_common.c: undefined 
reference to `_imp__OBEX_ObjectSetRsp'
libmisc.a(obex_put_common.o)(.text+0x237):obex_put_common.c: undefined 
reference to `_imp__OBEX_ObjectSetRsp'
libmisc.a(obex_put_common.o)(.text+0x267):obex_put_common.c: undefined 
reference to `_imp__OBEX_ObjectSetRsp'
libmisc.a(obex_put_common.o)(.text+0x36c):obex_put_common.c: undefined 
reference to `_imp__OBEX_ObjectSetRsp'
libmisc.a(obex_put_common.o)(.text+0x41c):obex_put_common.c: undefined 
reference to `_imp__OBEX_HandleInput'
libmisc.a(obex_put_common.o)(.text+0x445):obex_put_common.c: undefined 
reference to `_imp__OBEX_Request'
collect2: ld returned 1 exit status
make: *** [irxfer.exe] Error 1

I found a link about these, but I cannot solve the problem: 
http://www.haible.de/bruno/woe32dll.htm
Please, help!
Thanks,
Lac

-------------------------------------------------------------------------
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=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to