From owner-freebsd-current Tue Sep 29 07:14:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28406 for freebsd-current-outgoing; Tue, 29 Sep 1998 07:14:23 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from beelzebubba.sysabend.org (beelzebubba.sysabend.org [208.243.107.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28336 for ; Tue, 29 Sep 1998 07:13:53 -0700 (PDT) (envelope-from desmo@beelzebubba.sysabend.org) Received: (from swm@localhost) by beelzebubba.sysabend.org (8.8.5/8.8.5) id KAA22906; Tue, 29 Sep 1998 10:13:43 -0400 (EDT) Message-ID: <19980929101342.C9595@beelzebubba.sysabend.org> Date: Tue, 29 Sep 1998 10:13:43 -0400 From: Ken Monville To: freebsd-current@FreeBSD.ORG Subject: Linking weirdness Reply-To: desmo@bandwidth.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 Organization: not much X-Operating-System: FreeBSD 2.2.2-RELEASE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently installed the 3.0-19980927-BETA/ and immediately cvsupped and did a `make -DNOAOUT world' with no problems. However, after that I have been unable to get some programs to link properly. Here is an example of some of the errors i got ( compiling mpg123 ). Note: I get the same type of linker errors compiling most X apps, though some compile and link fine. cc -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer -funroll-all-loops -ffast-math -DROT_I386 -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS mpg123.o tabinit.o common.o layer1.o layer2.o layer3.o audio.o buffer.o decode_2to1.o equalizer.o decode_4to1.o getlopt.o httpget.o xfermem.o decode_ntom.o decode_i386.o dct64_i386.o getbits_.o audio_oss.o -o mpg123 -lm mpg123.o: In function `play_frame': mpg123.o(.text+0xdac): undefined reference to `getbits' layer1.o: In function `I_step_one': layer1.o(.text+0x3b): undefined reference to `getbits' layer1.o(.text+0x47): undefined reference to `getbits' layer1.o(.text+0x5b): undefined reference to `getbits' layer1.o(.text+0x67): undefined reference to `getbits' layer1.o(.text+0x77): more undefined references to `getbits' follow layer2.o: In function `II_step_one': layer2.o(.text+0x6a7): undefined reference to `getbits_fast' layer2.o(.text+0x6c8): undefined reference to `getbits_fast' layer2.o(.text+0x6e4): undefined reference to `getbits_fast' layer2.o(.text+0x704): undefined reference to `getbits_fast' layer2.o(.text+0x71c): undefined reference to `getbits_fast' layer2.o(.text+0x734): more undefined references to `getbits_fast' follow layer2.o: In function `II_step_one': layer2.o(.text+0x79a): undefined reference to `getbits' layer2.o(.text+0x7ba): undefined reference to `getbits' layer2.o(.text+0x7da): undefined reference to `getbits' [snip, more of the same...] getbits_.o(.text+0x5d): undefined reference to `_bitindex' getbits_.o(.text+0x6a): undefined reference to `_bitindex' getbits_.o(.text+0x77): undefined reference to `_bitindex' getbits_.o(.text+0x80): undefined reference to `_wordpointer' getbits_.o(.text+0x86): undefined reference to `_bitindex' getbits_.o: In function `_get1bit': getbits_.o(.text+0x8e): undefined reference to `_wordpointer' getbits_.o(.text+0x97): undefined reference to `_bitindex' getbits_.o(.text+0xa2): undefined reference to `_bitindex' getbits_.o(.text+0xa8): undefined reference to `_bitindex' getbits_.o(.text+0xb2): undefined reference to `_wordpointer' *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. I cvsupped and made world as of 7pm Sept 28. Thanks -- Ken Monville GCS d- s++: a-- C+++ UHB++++$ P+++ L- E--- W+ N o? K? w--- O M+ !V PS PE++ Y+ PGP+ t 5 X+ !R tv+ b DI+++ D++ G e>++ h r% y+(*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message