C4gl complier error
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
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
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 "Shevkar, Mukund" wrote: > > 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