From owner-freebsd-questions Mon Feb 8 16:00:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA26446 for freebsd-questions-outgoing; Mon, 8 Feb 1999 16:00:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cartman.webbernet.net (cartman.webbernet.net [208.218.89.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA26439 for ; Mon, 8 Feb 1999 16:00:51 -0800 (PST) (envelope-from bonga@aitchisonians.org) Received: from ip20-pool2.dyn.webbernet.net (ip20-pool2.dyn.webbernet.net [159.138.25.20]) by cartman.webbernet.net (8.9.1/8.8.5) with ESMTP id TAA06870 for ; Mon, 8 Feb 1999 19:00:44 -0500 (EST) Date: Mon, 8 Feb 1999 19:00:26 -0500 (EST) From: saad X-Sender: bonga@localhost.webbernet.net To: freebsd-questions@FreeBSD.ORG Subject: /usr/lib file questions : Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG - my system : FreeBSD localhost.webbernet.net 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sun Jan 31 10:47:18 EST 1999 bonga@myname.domain:/usr/home/cvs/src/sys/compile/GENERIC i386 - difference between /usr/lib/*.a and /usr/lib/*_p.a symbols: $ ls -l *edit* -r--r--r-- 1 root wheel 67502 Feb 2 16:59 libedit.a lrwxr-xr-x 1 root wheel 12 Feb 2 16:59 libedit.so -> libedit.so.2 -r--r--r-- 1 root wheel 68296 Feb 2 16:59 libedit.so.2 -r--r--r-- 1 root wheel 79714 Feb 2 16:59 libedit_p.a $ nm -o *edit* |grep term_beep libedit_p.a:editline.po:000068e0 t term_beep i was wondering why libedit.a doesn't contain the term_beep symbol while the same library with profiling contains it? if i wanted to access this symbol for a non-profiled compile, how would i do that? this is the only place where i can find any reference to term_beep at all $ nm -o /usr/lib/* |grep term_beep /usr/libexec/elf/nm: aout: File format not recognized /usr/libexec/elf/nm: compat: File format not recognized libedit_p.a:editline.po:000068e0 t term_beep To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message