Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!du9ds3!veit From: veit@du9ds3.uni-duisburg.de (Holger Veit) Subject: Re: What is needed to compile with MATH libs? References: <9208170010.AA25364@cs.utexas.edu> Date: 17 Aug 92 07:13:17 GMT Reply-To: veit@du9ds3.uni-duisburg.de Organization: Uni-Duisburg FB9 Datenverarbeitung Sender: @unidui.uni-duisburg.de Message-ID: <veit.714035597@du9ds3> Lines: 35 In <9208170010.AA25364@cs.utexas.edu> STDN%MARIST@VM.MARIST.EDU (Dan Newcombe) writes: >I have a C program that is a demonstration of back propigation. It >compiles fine but bombs out on the link phase. >cc -o qp -lm quickprop1.c >quickprop1.o: Undefined symbol _exp referenced from text segment >quickprop1.o: Undefined symbol _exp referenced from text segment >quickprop1.o: Undefined symbol _log referenced from text segment >What's missing from this picture? Thanks:) > -Dan >STDN@vm.marist.edu Have you tried cc -o qp quickprop.c -lm I have not the 386bsd man page at hand, but the cc(1) page of SunOS at least says: cc [some options] sourcefiles [-llibrary] Hope that helps Holger -- | | / Holger Veit | INTERNET: veit@du9ds3.uni-duisburg.de |__| / University of Duisburg | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO | | / Dept. of Electr. Eng. | "No, my programs are not BUGGY, these are | |/ Inst. f. Dataprocessing | just unexpected FEATURES"