Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 11:22:06 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Ken Monville <desmo@bandwidth.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Linking weirdness
Message-ID:  <Pine.BSF.4.02A.9809291120590.6148-100000@bright.fx.genx.net>
In-Reply-To: <19980929101342.C9595@beelzebubba.sysabend.org>

next in thread | previous in thread | raw e-mail | index | archive | help
you have a.out format .a files in your lib directories, run "nm" on them,
if you get "file format not recognized" then move them to thier respective
"aout" dirs.

you might need to manually fix port dependancies.

Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
-- There are operating systems, and then there's FreeBSD.
-- http://www.freebsd.org/                        3.0-current

On Tue, 29 Sep 1998, Ken Monville wrote:

> 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 <desmo@bandwidth.org>
> 
> 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
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9809291120590.6148-100000>