C4gl complier error

C4gl complier error

Post by Shevkar, Mukun » Sun, 31 Dec 1899 09:00:00



When I compile and prepare and executable I receive following error -
(IFX 7.13 UC1 , Sun Solaris 2.6)

 cc_sfp_prebdnew
sfp_prebd_main.c:
prebd_rpt.c:
sfp_globals.c:
agd_post.c:
stapps_pst.c:
sfp_mn.c:
sfp_add.c:
sfp_updt.c:
Undefined                       first referenced
 symbol                             in file
_FMsfp_prebd_add5                   sfp_add.o
_FMsfp_prebd5                       sfp_updt.o
ld: fatal: Symbol referencing errors. No output written to a.out
cc_sfp_prebdnew[5]: -o:  not found

What could be the reason?

TIA

Mukund

 
 
 

C4gl complier error

Post by Art S. Kage » Sun, 31 Dec 1899 09:00:00


Well since both of the undefined symbols contain the substring 'predb'
and you have two modules with that same substring in their names, I'd
say there is yet another module lying around that you neglected to
link in!

Art S. Kagel


> When I compile and prepare and executable I receive following error -
> (IFX 7.13 UC1 , Sun Solaris 2.6)

>  cc_sfp_prebdnew
> sfp_prebd_main.c:
> prebd_rpt.c:
> sfp_globals.c:
> agd_post.c:
> stapps_pst.c:
> sfp_mn.c:
> sfp_add.c:
> sfp_updt.c:
> Undefined                       first referenced
>  symbol                             in file
> _FMsfp_prebd_add5                   sfp_add.o
> _FMsfp_prebd5                       sfp_updt.o
> ld: fatal: Symbol referencing errors. No output written to a.out
> cc_sfp_prebdnew[5]: -o:  not found

> What could be the reason?

> TIA

> Mukund


 
 
 

1. c4gl link error

Using INFORMIX-4GL Version 7.30.FC4 on SunOS 5.7,
I am getting the following results.  This compile
worked on an earlier version of Informix and
SunOS.  Does anyone know why it can't find the
objects in the specified library files?  I have
used the ar command to list the contents of the
library .a files and I can see the objects.  Is
this a SunOS or Informix problem?

-----

c4gl -s -lsocket -lnsl -DSunOS -
I/testinf/cust/src/h -I/testinf/base/src/h -
I/usr/informix/incl -I/usr/informix/incl
/tools  -I/testinf/base/src/globals \
   /testinf/obj/lblsch.o         \
   /testinf/obj/lbl_getargs.o    \
   /testinf/lib/english/ul_lib.a \
   /testinf/lib/dblib.a          \
   /testinf/lib/lbl_lib.a        \
   -o lblsch

Undefined      first referenced
 symbol        in file
log_4gl        /testinf/lib/dblib.a(dbmanag.o)
rl_dspsig      /testinf/lib/english/ul_lib.a
(ul_initsk.o)
ld: fatal: Symbol referencing errors. No output
written to lblsch

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Store Procedure!!! Urgrent!!!

3. C4GL unexplained error

4. What now for Informix customers?

5. c4gl error

6. IL, CO, MI-ORACLE APPLICATIONS

7. c4gl generating strange errors

8. SQL 2000 Installation

9. C4GL compiler error

10. c4gl compiling error, help

11. Error from c4gl compiler