Subject | How to compile and link a .c (C object file given by GPRE) with gcc on Linux? |
---|---|
Author | mallikarjuna m |
Post date | 2005-01-16T14:52Z |
I am using FirebirdSS-1.5.2.4731-0.i686 in Redhat Linux 9.0.
I compiled a C file (file.e) with the preprocessor (GPRE) and got the object file (file.c).
I want to know how to compile and link with gcc compiler.
I tried with the following commands:
gcc -o file -I /opt/firebird/include file.c
But, gives isc_attach_database() reference error.
Please help me anybody, I am wasting time from two days.
Thanks in advance,
Yours Malli.
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
[Non-text portions of this message have been removed]
I compiled a C file (file.e) with the preprocessor (GPRE) and got the object file (file.c).
I want to know how to compile and link with gcc compiler.
I tried with the following commands:
gcc -o file -I /opt/firebird/include file.c
But, gives isc_attach_database() reference error.
Please help me anybody, I am wasting time from two days.
Thanks in advance,
Yours Malli.
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
[Non-text portions of this message have been removed]