dsr@stl.stc.co.uk (D.S. Riches) (04/11/90)
We are using Version 5.? of INGRES and are using Embedded SQL. The problem I'm having is in trying to use the profiling flags for `cc` i.e. -pg or -p. I can compile the esql/c files to a `.o` file using the -pg flag but when I come to link together a number of `.o` files, which have all been compiled using the `-pg`, e.g. cc -pg frd.o esql.o -llibabf ... I get the following error : ld: symbol __DYNAMIC lookup failed If I create a relocatable esql/c file by using `ld -r` then I can perform the final link as long as I don't include the ingres libraries however since I have more than one relocatable esql/c file I get multiple defines. Has anyone come across this problem and if so what's the solution. Dave Riches PSS: dsr@stl.stc.co.uk ARPA: dsr%stl.stc.co.uk@earn-relay.ac.uk Smail: Systems Methods, (Dept. 607, T2 West), STC Technology Ltd., London Road, Harlow, Essex. CM17 9NA. England Phone: +44 (0)279-29531 x2496