home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4261 < prev    next >
Encoding:
Text File  |  1992-08-16  |  1.4 KB  |  48 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!du9ds3!veit
  3. From: veit@du9ds3.uni-duisburg.de (Holger Veit)
  4. Subject: Re: What is needed to compile with MATH libs?
  5. References: <9208170010.AA25364@cs.utexas.edu>
  6. Date: 17 Aug 92 07:13:17 GMT
  7. Reply-To: veit@du9ds3.uni-duisburg.de
  8. Organization: Uni-Duisburg FB9 Datenverarbeitung
  9. Sender: @unidui.uni-duisburg.de
  10. Message-ID: <veit.714035597@du9ds3>
  11. Lines: 35
  12.  
  13. In <9208170010.AA25364@cs.utexas.edu> STDN%MARIST@VM.MARIST.EDU (Dan Newcombe) writes:
  14.  
  15. >I have a C program that is a demonstration of back propigation. It
  16. >compiles fine but bombs out on the link phase.
  17.  
  18. >cc -o qp -lm quickprop1.c
  19. >quickprop1.o: Undefined symbol _exp referenced from text segment
  20.  
  21. >quickprop1.o: Undefined symbol _exp referenced from text segment
  22.  
  23. >quickprop1.o: Undefined symbol _log referenced from text segment
  24.  
  25.  
  26. >What's missing from this picture?  Thanks:)
  27.  
  28. >  -Dan
  29. >STDN@vm.marist.edu
  30.  
  31. Have you tried
  32.  
  33. cc -o qp quickprop.c -lm
  34.  
  35. I have not the 386bsd man page at hand, but the cc(1) page of SunOS 
  36. at least says:
  37.     cc [some options] sourcefiles [-llibrary]
  38.  
  39. Hope that helps
  40.  
  41. Holger
  42.  
  43. -- 
  44. |  |   / Holger Veit             | INTERNET: veit@du9ds3.uni-duisburg.de
  45. |__|  /  University of Duisburg  | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
  46. |  | /   Dept. of Electr. Eng.   | "No, my programs are not BUGGY, these are
  47. |  |/    Inst. f. Dataprocessing |          just unexpected FEATURES"
  48.