| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
No able to compile C code
Hi,
I'm trying to compile C code. I have all the needed libraries in path. but still it gives me this error message. gcc d.c Undefined first referenced symbol in file dhcpctl_connect /var/tmp//ccojHVsl.o dhcpctl_get_value /var/tmp//ccojHVsl.o dhcpctl_set_value /var/tmp//ccojHVsl.o dhcpctl_initialize /var/tmp//ccojHVsl.o dhcpctl_wait_for_completion /var/tmp//ccojHVsl.o dhcpctl_new_object /var/tmp//ccojHVsl.o dhcpctl_open_object /var/tmp//ccojHVsl.o dhcpctl_data_string_dereference /var/tmp//ccojHVsl.o inet_pton /var/tmp//ccojHVsl.o omapi_data_string_new /var/tmp//ccojHVsl.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status Any idea why its giving me so. Thanks in advance. |
|
#2
|
|||
|
|||
|
looks like the compiler didn't see any link to the references, aka
try to look over your program and see if you mispelled anything, I dunno though I'm not familiar with unix compilers but it should be about the same. :P |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > No able to compile C code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|