List Info

Thread: Found -undefined reference-




Found -undefined reference-
user name
2006-05-23 10:29:06
Have u ever met the error messages like these :

undefined reference to 'OBEX_Cleanup'

it's occur when i try to call certain function or procedure which declarated in other file (header file).

there is a file to act as an interface that declare form of the procedure.
then, there is a file to act as explanator which explain what the procedure doing.
And latter, a file that using the second file.

-----------------------
Thanks in advance....
Found -undefined reference-
user name
2006-05-23 15:46:38
Gloria,

When you have problems compiling source code, you need to give more detail about your problem, otherwise no one will know what you're talking about.  Specifically, make your code available by posting it on your web site or including it as an attachment if it's short.  Additionally, describe the operating system you're using, the versions of the relevant libraries and compiler, and the _exact_ command you're using to compile your program.

Saying things like "there is a file..." means absolutely nothing and doesn't help anyone resolve your problems.

And _please_ read a FAQ or two on mailing list etiquette.

-albert

On 5/23/06, Gloria Saripah Patara <gmail.com">glowz.saripahgmail.com> wrote:
Have u ever met the error messages like these :

undefined reference to 'OBEX_Cleanup'

it's occur when i try to call certain function or procedure which declarated in other file (header file).

there is a file to act as an interface that declare form of the procedure.
then, there is a file to act as explanator which explain what the procedure doing.
And latter, a file that using the second file.

-----------------------
Thanks in advance....

Found -undefined reference-
user name
2006-05-24 03:40:11
Have u ever met the error messages like these :

undefined reference to 'OBEX_Cleanup'

i used the command line below:

gcc -o code code.c -lbluetooth

it's occur when i try to call certain function or procedure
which
declarated in obex.h file (header file in Openobex
libraries).

file code.c is attached inside this message.
-----------------------
Thanks in advance....


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the
Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http:
//sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$
8729&dat1642
_______________________________________________
Bluez-users mailing list
Bluez-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

Found -undefined reference-
user name
2006-05-24 03:41:28
Have u ever met the error messages like these :

undefined reference to 'OBEX_Cleanup'

i used the command line below:

gcc -o code code.c -lbluetooth

it's occur when i try to call certain function or procedure
which
declarated in obex.h file (header file in Openobex
libraries).

file code.c is attached inside this message.
-----------------------
Thanks in advance....
Found -undefined reference-
user name
2006-05-24 04:28:54
you need to link against libopenobex.

it's either

gcc -o code code.c -lbluetooth -lopenobex

or

gcc -o code codec.c -lbluetooth -lopenobex-1.0

or something like that.

-albert

On 5/23/06, Gloria Saripah Patara <gmail.com">glowz.saripahgmail.com> wrote:
Have u ever met the error messages like these :

undefined reference to 'OBEX_Cleanup'

i used the command line below:

gcc -o code code.c -lbluetooth

it's occur when i try to call certain function or procedure which
declarated in obex.h file (header file in Openobex libraries).

file code.c is attached inside this message.
-----------------------
Thanks in advance....



[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )