why compile unexpected
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
hi friend , I want to compile an ec program(pl.ec) and a c program(call_pl.c) to generate the executable code (call_plc.exe) But there is not error output when I compile , at the same time the pl.o call_pl.o is generated , but the call_plc.exe is not generated . I do not know the reason , can you help me ? Thanks JJ c4gl -o call_plc.exe -c -I/abc/prod/ctg/mq/include - I/abc/prod/ctg/util/include -I/abc/prod/tib/include - Ia/miscsrc/gpoe_pl/plc/Make.profile - I/abc/prod/database/informix/7.30.uc3x4/incl/esql -I./ -Aa - D_HPUX_SOURCE pl.ec call_pl.c Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
The -c switch says compile but don't link. Remove it and you should be ok. In article <7sct9h$rug$1@nnrp1.deja.com>, jjdai@hotmail.com writes >hi friend , > >I want to compile an ec program(pl.ec) and a c program(call_pl.c) >to generate the executable code (call_plc.exe) >But there is not error output when I compile , at the same time >the pl.o call_pl.o is generated , but the call_plc.exe is not >generated . >I do not know the reason , can you help me ? > >Thanks > >JJ > > c4gl -o call_plc.exe -c -I/abc/prod/ctg/mq/include - >I/abc/prod/ctg/util/include -I/abc/prod/tib/include - >Ia/miscsrc/gpoe_pl/plc/Make.profile - >I/abc/prod/database/informix/7.30.uc3x4/incl/esql -I./ -Aa - >D_HPUX_SOURCE pl.ec call_pl.c > > >Sent via Deja.com http://www.deja.com/ >Share what you know. Learn what you don't. Andrew Lennard andy@kontron.demon.co.uk Clinical Information Systems Division Charter-Kontron Ltd Fountain Court 2 Victoria Square Victoria Street Phone: +44 (0)1727 884650 St Albans Fax: +44 (0)1727 884879 Herts AL1 3TF