View Single Post
  #3  
Old April 12th, 2007, 03:44 PM
owning owning is offline
Registered User
 
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
owning is on a distinguished road
But how come when i compile my code separately ie. the coral_test.c
and the hash implementation they just work fine. But when i try to merge both the codes together i get these errors. Is there some problem in my make file.
Can you please let me know. Because i just wrote it using information from net.

my structure looks like for hash:

-rw-r--r-- 1 hetawal hetawal 8753 Mar 29 15:24 hashtab.c
-rw-r--r-- 1 hetawal hetawal 6355 Mar 29 15:23 hashtab.h
-rw-r--r-- 1 root hetawal 3584 Apr 11 01:08 hashtab.o
-rw-r--r-- 1 hetawal hetawal 8486 Mar 29 15:23 lookupa.c
-rw-r--r-- 1 hetawal hetawal 692 Mar 29 15:23 lookupa.h
-rw-r--r-- 1 root hetawal 4776 Apr 11 01:08 lookupa.o
-rw-r--r-- 1 hetawal hetawal 325 Apr 11 01:08 makefile
-rw-r--r-- 1 hetawal hetawal 2104 Mar 29 15:23 recycle.c
-rw-r--r-- 1 hetawal hetawal 2036 Mar 29 15:23 recycle.h
-rw-r--r-- 1 root hetawal 1392 Apr 11 01:08 recycle.o
-rw-r--r-- 1 hetawal hetawal 29 Mar 29 15:29 sa.txt
-rw-r--r-- 1 hetawal hetawal 1617 Mar 29 15:23 standard.h
-rwxr-xr-x 1 root hetawal 22696 Apr 11 01:08 test
-rw-r--r-- 1 hetawal hetawal 138 Apr 8 13:56 ttl.c
-rw-r--r-- 1 hetawal hetawal 120 Apr 8 13:56 ttl.h
-rwxr-xr-x 1 hetawal hetawal 22196 Apr 8 19:16 unique
-rw-r--r-- 1 hetawal hetawal 4429 Apr 8 21:19 unique.c


when i just compile unique.c it works fine alone.


And when i try to use the code in my coral_test.c as describe in my above email. It gives me error. Same is case with my coral_test.c when compiled separtalety.


Can you please help me to merge them together


Thanks
Reply With Quote