Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2005 17:26:51 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: problem building mplayer
Message-ID:  <200503201726.52334.ringworm01@gmail.com>
In-Reply-To: <200503210106.58948.list-freebsd-2004@morbius.sent.com>
References:  <200503210106.58948.list-freebsd-2004@morbius.sent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 20 March 2005 05:06 pm, RW wrote:
> I'm trying upgrade mplayer (under 5.3-RELEASE-p5), and it's failing
> to build.
>
> My ports were last updated on 20 march, and it's been failing for
> several days.
>
> libfaad2/libfaad2.a(output.o)(.text+0x2ee): In function 
`output_to_PCM':
> : undefined reference to `lrintf'
>
> libfaad2/libfaad2.a(output.o)(.text+0x45b): In function 
`output_to_PCM':
> : undefined reference to `lrintf'
>
> libfaad2/libfaad2.a(output.o)(.text+0x5cd): In function 
`output_to_PCM':
> : undefined reference to `lrintf'
>
> libfaad2/libfaad2.a(output.o)(.text+0x7cc): In function 
`output_to_PCM':
> : undefined reference to `lrintf'
>
> libfaad2/libfaad2.a(output.o)(.text+0x8f5): In function 
`output_to_PCM':
> : undefined reference to `lrintf'
>
> libfaad2/libfaad2.a(output.o)(.text+0x99f): more undefined references
> to `lrintf' follow
> gmake: *** [mplayer] Error 1
> *** Error code 2
>
> Stop in /data/ports/multimedia/mplayer.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade86348.0 make WITHOUT_RUNTIME_CPUDETECTION=yes
> WITH_ARTS=yes WITH_REALPLAYER=YES WITH_XMMS=YES
> WITH_OPTIMIZED_CFLAGS=YES WITH_DVD_DEVICE=/dev/dvd
> _______________________________________________


running: find /usr/local/include/ | xargs grep lrintf

returns:

/usr/local/include/ffmpeg/dsputil.h:static inline long int lrintf(float 
x)

Do you have this file?  /usr/local/include/ffmpeg/dsputil.h

pkg_info -W /usr/local/include/ffmpeg/dsputil.h

/usr/local/include/ffmpeg/dsputil.h was installed by package 
ffmpeg-0.4.9.p1_2

do you have ffmpeg installed?


-Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503201726.52334.ringworm01>