Makefile - ESQL-C Error
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Help!! I am migrating users who were using Informix 4.X under SUN OS
4.1.3 to another server running Informix 7.X under Solaris 2.6. When I
tried to recompile the Makefile, I got the error show below. Can
anyone steer me in the right direction to fix this. Please e-mail me
directly. Thanks
Kristin
$ make 3b2
make sqlperf1 sqlace "CFLAGS=-DXSYSV -DSYSV -DUNIX -DSQL -DPROTOCOL " \\
"FIXUP= "
make[1]: Entering directory `/home/neuro/dbsrc/NEURO/C_SUB'
cperf -DXSYSV -DSYSV -DUNIX -DSQL -DPROTOCOL sqltbox.o timecvt.o \\
pdftime.o tostring.o perfstring.o imlab_func.o imlab_math.o \\
imlab_spec.o visit_no.o hist.o strpreactn.o misc.o \\
-o sqlperf1 -lm
sqltbox.o(.text+0x44): undefined reference to `_strncpy'
sqltbox.o(.text+0x80): undefined reference to `_rtoday'
sqltbox.o(.text+0x94): undefined reference to `_pf_putval'
sqltbox.o(.text+0xc8): undefined reference to `_sprintf'
sqltbox.o(.text+0xe0): undefined reference to `_pf_msg'
sqltbox.o(.text+0xe8): undefined reference to `_stdscr'
sqltbox.o(.text+0xec): undefined reference to `_stdscr'
sqltbox.o(.text+0xf0): undefined reference to `_wrefresh'
cc: Internal compiler error: program ld got fatal signal 11
make[1]: *** [sqlperf1] Error 1
make[1]: Leaving directory `/home/neuro/dbsrc/NEURO/C_SUB'
make: *** [3b2] Error 2
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
Kristin wrote:
> Help!! I am migrating users who were using Informix 4.X under SUN OS
> 4.1.3 to another server running Informix 7.X under Solaris 2.6. When I
> tried to recompile the Makefile, I got the error show below. Can
> anyone steer me in the right direction to fix this. Please e-mail me
> directly. Thanks
>
> Kristin
>
> $ make 3b2>
> make sqlperf1 sqlace "CFLAGS=-DXSYSV -DSYSV -DUNIX -DSQL -DPROTOCOL " \\
> "FIXUP= "
> make[1]: Entering directory `/home/neuro/dbsrc/NEURO/C_SUB'
> cperf -DXSYSV -DSYSV -DUNIX -DSQL -DPROTOCOL sqltbox.o timecvt.o \\
> pdftime.o tostring.o perfstring.o imlab_func.o imlab_math.o \\
> imlab_spec.o visit_no.o hist.o strpreactn.o misc.o \\
> -o sqlperf1 -lm
> sqltbox.o(.text+0x44): undefined reference to `_strncpy'
> sqltbox.o(.text+0x80): undefined reference to `_rtoday'
> sqltbox.o(.text+0x94): undefined reference to `_pf_putval'
> sqltbox.o(.text+0xc8): undefined reference to `_sprintf'
> sqltbox.o(.text+0xe0): undefined reference to `_pf_msg'
> sqltbox.o(.text+0xe8): undefined reference to `_stdscr'
> sqltbox.o(.text+0xec): undefined reference to `_stdscr'
> sqltbox.o(.text+0xf0): undefined reference to `_wrefresh'
> cc: Internal compiler error: program ld got fatal signal 11
> make[1]: *** [sqlperf1] Error 1
> make[1]: Leaving directory `/home/neuro/dbsrc/NEURO/C_SUB'
> make: *** [3b2] Error 2
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!
It seems you are missing some libraries in make file link, the missing symbols
look much like those of the standard CC libraries. Try to find the missing
libraries on you machine using "nm" shell command, and place their name
(including the path) in the makefile on the end of the line "-o sqlperf1 -lm"
--
Compliments of QueriX
--------------------------------------------------------------------------------------------------
QueriX 4GL Compilers are Informix 4GL Compatible, and Connection to other RDBMS
such as Oracle.
Hydra 4GL Compiler Compile once, run everywhere
Phoenix Windows GUI.
Chimera Java GUI The only GUI you will ever need...
Arachne Web Technology
For more details visit: http://www.querix.com/
---------------------------------------------------------------------------------------------------