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