Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!jdyx!root From: root@jdyx.UUCP (Tom Friedel) Newsgroups: comp.unix.programmer Subject: chkshlib error: Cannot find .lib section (header) Message-ID: <1991Mar23.214344.11119@jdyx.UUCP> Date: 23 Mar 91 21:43:44 GMT Distribution: usa Organization: JDyx Enterprises (Atlanta GA) Lines: 20 I am trying to write a rather large shared library on 386/ix, and it appears mkshlib is not generating the host library correctly. When I run chkshlib libtom_s.a libtom_s.a I get Error: Cannot find .lib section (header) file =libtom_s.a ar and nm output of the host and target library appear normal. and if I link with the library I see undefined first referenced symbol in file /shlib/libtom.1[sharedlib.o] /usr/tom/src/libtom_s.a /shlib/libtom.1[] /usr/tom/src/libtom_s.a ld fatal: Symbol referencing errors. No output written to mwm What might cause this to happen ? Other (smaller?) libraries have been o.k. tom