From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 19:02:42 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7E254CDF; Tue, 19 Feb 2013 19:02:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8A8F68; Tue, 19 Feb 2013 19:02:42 +0000 (UTC) Received: from pakbsde14.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 769EAB93B; Tue, 19 Feb 2013 14:02:41 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Subject: Re: Unable to build audio/sox: undefined reference to 'open_memstream' Date: Tue, 19 Feb 2013 13:10:03 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201302191310.03524.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 19 Feb 2013 14:02:41 -0500 (EST) Cc: Ian FREISLICH , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 19:02:42 -0000 On Saturday, February 16, 2013 3:20:34 am Ian FREISLICH wrote: > Hi > > I get this error building building sox on amd64, but not i386. CC > is gcc on both systems. I can't figure out what the configure > options difference is between the two hosts that has it fail on the > amd64 system. All the dependencies have the same options configured. > > /bin/sh ../libtool --silent --tag=CC --silent --mode=link cc -Wconversion -I/usr/local/include -O2 -pipe -march=nocona -fno-strict-aliasing - D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp -version-info 1:0:0 -lltdl -L/usr/local/lib -pthread -o libsox.la - rpath /usr/local/lib libsox_la-adpcms.lo libsox_la-aiff.lo libsox_la-cvsd.lo libsox_la-g711.lo libsox_la-g721.lo libsox_la-g723_24.lo libsox_la-g723_40.lo libsox_la-g72x.lo libsox_la-vox.lo libsox_la-raw.lo libsox_la-formats.lo libsox_la-formats_i.lo libsox_la-skelform.lo libsox_la-xmalloc.lo libsox_la- getopt.lo libsox_la-getopt1.lo libsox_la-util.lo libsox_la-libsox.lo libsox_la-libsox_i.lo libsox_la-sox-fmt.lo libsox_la-bend.lo libsox_la- biquad.lo libsox_la-biquads.lo libsox_la-chorus.lo libsox_la-compand.lo libsox_la-crop.lo libsox_la-compandt.lo libsox_la-contrast.lo libsox_la- dcshift.lo libsox_la-delay.lo libsox_la-dft_filter.lo libsox_la-dither.lo libsox_la-divid > e.lo libsox_la-earwax.lo libsox_la-echo.lo libsox_la-echos.lo libsox_la- effects.lo libsox_la-effects_i.lo libsox_la-effects_i_dsp.lo libsox_la- fade.lo libsox_la-fft4g.lo libsox_la-filter.lo libsox_la-fir.lo libsox_la- firfit.lo libsox_la-flanger.lo libsox_la-gain.lo libsox_la-input.lo libsox_la-ladspa.lo libsox_la-loudness.lo libsox_la-mcompand.lo libsox_la- mixer.lo libsox_la-noiseprof.lo libsox_la-noisered.lo libsox_la-output.lo libsox_la-overdrive.lo libsox_la-pad.lo libsox_la-pan.lo libsox_la-phaser.lo libsox_la-rate.lo libsox_la-remix.lo libsox_la-repeat.lo libsox_la-reverb.lo libsox_la-reverse.lo libsox_la-silence.lo libsox_la-sinc.lo libsox_la- skeleff.lo libsox_la-speed.lo libsox_la-speexdsp.lo libsox_la-splice.lo libsox_la-stat.lo libsox_la-stats.lo libsox_la-stretch.lo libsox_la-swap.lo libsox_la-synth.lo libsox_la-tempo.lo libsox_la-tremolo.lo libsox_la-trim.lo libsox_la-vad.lo libsox_la-vol.lo libsox_la-spectrogram.lo libsox_la-raw- fmt.lo libsox_la > -s1-fmt.lo libsox_la-s2-fmt.lo libsox_la-s3-fmt.lo libsox_la-s4-fmt.lo libsox_la-u1-fmt.lo libsox_la-u2-fmt.lo libsox_la-u3-fmt.lo libsox_la-u4- fmt.lo libsox_la-al-fmt.lo libsox_la-la-fmt.lo libsox_la-ul-fmt.lo libsox_la- lu-fmt.lo libsox_la-8svx.lo libsox_la-aiff-fmt.lo libsox_la-aifc-fmt.lo libsox_la-au.lo libsox_la-avr.lo libsox_la-cdr.lo libsox_la-cvsd-fmt.lo libsox_la-dvms-fmt.lo libsox_la-dat.lo libsox_la-hcom.lo libsox_la-htk.lo libsox_la-maud.lo libsox_la-prc.lo libsox_la-sf.lo libsox_la-smp.lo libsox_la-sounder.lo libsox_la-soundtool.lo libsox_la-sphere.lo libsox_la- tx16w.lo libsox_la-voc.lo libsox_la-vox-fmt.lo libsox_la-ima-fmt.lo libsox_la-adpcm.lo libsox_la-ima_rw.lo libsox_la-wav.lo libsox_la-wve.lo libsox_la-xa.lo libsox_la-nulfile.lo libsox_la-f4-fmt.lo libsox_la-f8-fmt.lo libsox_la-gsrt.lo libsox_la-alsa.lo libsox_la-ao.lo libsox_la-ffmpeg.lo libsox_la-flac.lo libsox_la-gsm.lo libsox_la-lpc10.lo libsox_la-mp3.lo libsox_la-oss.lo lib > sox_la-vorbis.lo libsox_la-sndfile.lo libsox_la-caf.lo libsox_la-mat4.lo libsox_la-mat5.lo libsox_la-paf.lo libsox_la-fap.lo libsox_la-w64.lo libsox_la-xi.lo libsox_la-pvf.lo libsox_la-sd2.lo -lpng -lz -lmagic -lgomp -lgsm ../lpc10/liblpc10.la -lasound -lao -lavformat -lavcodec - L/usr/local/lib -lavutil -lFLAC -lvorbisenc -lvorbisfile -lvorbis -logg - lgsm -lmad -lid3tag -lz -lmp3lame -lvorbisenc -lvorbisfile -lvorbis -logg -L/usr/local/lib -lsndfile -lm > /bin/sh ../libtool --silent --tag=CC --silent --mode=link cc -Wconversion -O2 -pipe -march=nocona -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -W - Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp -avoid-version - module -L/usr/local/lib -pthread -o sox sox.o libsox.la -lm > ./.libs/libsox.so: undefined reference to `open_memstream' I'm guessing it thinks that we have open_memstream() because someone added fmemopen() recently. I have an implementation of open_memstream() that I will commit soon. -- John Baldwin