Hello All,
Now i have a new problem and am really frustrated so as to not knowing how to get this working.
Trinity:~ hetawal$ gcc unique.c
unique.c: In function 'main':
unique.c:34: warning: incompatible implicit declaration of built-in function 'malloc'
/usr/bin/ld: Undefined symbols:
_hadd
_hdel
_hfirst
_hnbucket
collect2: ld returned 1 exit status
Trinity:~ hetawal$ g++ unique.c
unique.c: In function 'int main()':
unique.c:34: error: 'malloc' was not declared in this scope
unique.c:48: error: 'free' was not declared in this scope
Can somebody please tell me how to compile a simple .c file wihtout these undefined symbol errors..
That would be of reallly great help!!!!
Now i have a new problem and am really frustrated so as to not knowing how to get this working.
Trinity:~ hetawal$ gcc unique.c
unique.c: In function 'main':
unique.c:34: warning: incompatible implicit declaration of built-in function 'malloc'
/usr/bin/ld: Undefined symbols:
_hadd
_hdel
_hfirst
_hnbucket
collect2: ld returned 1 exit status
Trinity:~ hetawal$ g++ unique.c
unique.c: In function 'int main()':
unique.c:34: error: 'malloc' was not declared in this scope
unique.c:48: error: 'free' was not declared in this scope
Can somebody please tell me how to compile a simple .c file wihtout these undefined symbol errors..
That would be of reallly great help!!!!