Date: Wed 30 Sep 92 14:24:28 From: ronis AT ronis DOT chem DOT mcgill DOT ca (David M. Ronis) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Mixed Programming Hi, I've been trying to do some mixed C-Fortran programming using f2c. All the code fragments compile; moreover, test programs based entirely on either language work properly. However when I try to link the real application I run into trouble, specifically: I first passed all the fortran sources through f2c, compile with gcc, and save the output in a library called libFOBJS.a. I then link the objects created from the C sources (COBJS) and try to link everything as follows: gcc -m486 -O2 COBJS -lFOBJS -lF77 -lI77 -lm -lc I get the following output: fmt.o: Undefined symbol _sig_die referenced from text segment err.o: Undefined symbol _sig_die referenced from text segment wrtfmt.o: Undefined symbol _sig_die referenced from text segment wrtfmt.o: Undefined symbol _sig_die referenced from text segment These symbols are not used in any of my sources. Any ideas as to what is wrong? Thanks in advance, David Ronis