[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | USG buildhelp questions/answers |
|
Moderator: | SMURF::FILTER |
|
Created: | Mon Apr 26 1993 |
Last Modified: | Mon Jan 20 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2763 |
Total number of notes: | 5802 |
1680.0. "how do I make a library?" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Aug 14 1995 13:51
Date Of Receipt: 14-AUG-1995 11:31:35.16
From: SMURF::ALPHA::frank "Douglas Frank USG 14-Aug-1995 1130"
To: buildhelp@DEC:.zko.alpha
CC:
Subj: how do I make a library?
Hi,
I can't seem to build a working libfoo.a. The build proceeds to completion
without error, but nm can't make sense of the .a that comes out the other
end. (Backed against ptliteos.nightly, btw) -- I get this:
%nm foo.a
Warning: Symbol table header magic is 0x0
libmld: init_ldfile:non-mips symbol table 0
Assertion failed: LSYMHEADER(ldptr)->pcfd =
(pCFDR)calloc(cbCFDR,LPHDR(ldptr)->ifdMax), file
../../../../../../src/usr/ccs/lib/libmld/ldfcn.c, line 327
Abort process (core dumped)
I have no idea what that business with ldfcn.c is, its not one of my files.
here's the Makefile:
LIBRARIES = libfoo.a
EXPLIB_TARGETS = export_libfoo.a
EXPDIR = /usr/ccs/lib
ILIST = libfoo.a
OFILES = fsent.o realpath.o
fsent_CARGS = -threads
include ${MAKEFILEPATH}/standard.mk
include ${MAKEFILEPATH}/libs.mk
include ${MAKEFILEPATH}/objects.mk
any hints would be appreciated.... :-)
--Doug
T.R | Title | User | Personal Name | Date | Lines
|
---|