C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 31st, 2004, 03:14 PM
amungara amungara is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 amungara User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old September 3rd, 2004, 11:29 AM
tomdx tomdx is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 7 tomdx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > No able to compile C code


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT