home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3872 < prev    next >
Encoding:
Internet Message Format  |  1992-07-20  |  1.1 KB

  1. Xref: sparky comp.unix.programmer:3872 comp.unix.misc:3004
  2. Path: sparky!uunet!dtix!darwin.sura.net!wupost!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!orstcs!orstcs!usenetusenet
  3. From: herberj@prism.CS.ORST.EDU (John Wesley Herberg)
  4. Newsgroups: comp.unix.programmer,comp.unix.misc
  5. Subject: Driver Compiling Problem w/libc.a
  6. Message-ID: <1992Jul23.182824.1156@CS.ORST.EDU>
  7. Date: 23 Jul 92 18:28:24 GMT
  8. Sender: usenet@CS.ORST.EDU
  9. Organization: Oregon State University, Computer Science Dept.
  10. Lines: 11
  11. Nntp-Posting-Host: prism.cs.orst.edu
  12.  
  13. I am writing a driver and am having problems compiling it whenever I reference
  14. a routine from the c library.  I compile the driver modules into one using
  15. ld -x -r & then attempt to compile that module into the kernel.  Whenever I
  16. do, I receive a "Duplicate symbol free in libc.a(malloc.o)" error.  
  17.  
  18. I know this has something to do w/how archive libraries are linked , but
  19. don't know how to avoid it.  I'd greatly appreciate if someone could help
  20. me out.
  21. -- 
  22. -----------------------------------------------------------------------
  23. John W. Herberg                       Internet: herberj@prism.cs.orst.edu
  24.