problem with compiling gnomemedia2

Joe Marcus Clarke marcus at marcuscom.com
Sun Apr 17 15:57:43 PDT 2005


On Sun, 2005-04-17 at 17:24 -0500, Scott T. Hildreth wrote:
> okay, I thought it had upgraded..
> 
> gst-cdparanoia-cdrom.o(.text+0x1758): In function
> `gst_cdparanoia_cdrom_get_status':
> : undefined reference to `lrint'
> gmake[3]: *** [gnome-cd] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/audio/gnomemedia2/work/gnome-media-2.10.2/gnome-cd'
> 
> 
> Everything upgrades, except gnomemedia2 and my ports are cvsup'd 
> everyday.  Not a big deal, since I will be doing a "Build World"
> soon.  My pkg_config is updated as well.  Is the 'lrint' checked
> by autoconf?

This is fixed.  You need to have revision 1.69 of the gnomemedia2
Makefile.

Joe

> 
> 
> 
> On Sun, 2005-04-17 at 09:42 -0500, Scott T. Hildreth wrote:
> > It does work now, I was able to compile gnomemedia2 Friday without
> > upgrading my libm.  Just confirming.
>  
> >                            
> > On Sat, 2005-04-16 at 15:31 -0400, Joe Marcus Clarke wrote:
> > > On Sat, 2005-04-16 at 12:30 -0700, Michael C. Shultz wrote:
> > > > On Saturday 16 April 2005 12:24 pm, you wrote:
> > > > > On Sat, Apr 16, 2005 at 12:17:20PM -0700, Michael C. Shultz wrote:
> > > > > > On Saturday 16 April 2005 11:46 am, you wrote:
> > > > > > > On Sat, Apr 16, 2005 at 08:11:43AM -0700, Michael C. Shultz wrote:
> > > > > > > > On Saturday 16 April 2005 06:51 am, Simon MANLAY wrote:
> > > > > > > > > hello
> > > > > > > > >
> > > > > > > > > I've cvsuped, rebuilded pkgconfig, but problelm still present
> > > > > > > > > (yesturday)
> > > > > > > > > i've launched portmanager too, but without succes
> > > > > > > > >
> > > > > > > > > Any tips ?
> > > > > > > >
> > > > > > > > Please send portmanager output as an attachment:
> > > > > > > >
> > > > > > > > portmanager -u >& portmanager.log if your using csh
> > > > > > >
> > > > > > > Here is the log, gzipped
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > > thank you
> > > > > > > >
> > > > > > > > -Mike
> > > > > >
> > > > > > /bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe  
> > > > > > -L/usr/local/lib -o gnome-cd  eggtrayicon.o gnome-cd.o callbacks.o cddb.o
> > > > > > cdrom.o display.o gst-cdparanoia-cdrom.o preferences.o cd-selection.o
> > > > > > theme.o
> > > > > > -Wl,--export-dynamic -pthread -Wl,--rpath -Wl,/usr/local/lib
> > > > > > -L/usr/X11R6/lib -L/usr/local/lib -lglib-2.0 -liconv -lgmodule-2.0
> > > > > > -lgnomeui-2 -lSM -lICE -lesd   -Wl,--rpath -Wl,/usr/local/lib
> > > > > > -L/usr/X11R6/lib -lnautilus-burn -lintl  -Wl,--rpath -Wl,/usr/local/lib
> > > > > > -L/usr/X11R6/lib
> > > > > > -lgailutil   ../gnome-cd/access/libgnomecdaccess.la -Wl,--export-dynamic
> > > > > > -pthread -Wl,--rpath -Wl,/usr/local/lib -L/usr/X11R6/lib -lgstreamer-0.8
> > > > > > -lgstgconf-0.8 -lgnomeui-2 -lSM -lICE
> > > > > > -lgnomevfs-2   ../cddb-slave2/libcddb-slave2.la
> > > > > > libgnomemedia-cddbslave2.la cc -O -pipe -o .libs/gnome-cd eggtrayicon.o
> > > > > > gnome-cd.o callbacks.o cddb.o cdrom.o display.o gst-cdparanoia-cdrom.o
> > > > > > preferences.o cd-selection.o theme.o -Wl,--export-dynamic -Wl,--rpath
> > > > > > -Wl,/usr/local/lib -Wl,--rpath
> > > > > > -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--export-dynamic
> > > > > > -Wl,--rpath -Wl,/usr/local/lib  -L/usr/local/lib -L/usr/X11R6/lib -liconv
> > > > > > -lgmodule-2.0 -lesd -lnautilus-burn
> > > > > > -lgailutil ../gnome-cd/access/.libs/libgnomecdaccess.a -lintl -pthread
> > > > > > -lgstreamer-0.8 -lgstgconf-0.8 -lgnomeui-2 -lSM -lICE
> > > > > > -lgnomevfs-2 ../cddb-slave2/.libs/libcddb-slave2.so -lORBit-2 -lbonobo-2
> > > > > > -lgobject-2.0 -lglib-2.0 ./.libs/libgnomemedia-cddbslave2.a -Wl,--rpath
> > > > > > -Wl,/usr/X11R6/lib
> > > > > > gst-cdparanoia-cdrom.o(.text+0x1758): In function
> > > > > >
> > > > > > `gst_cdparanoia_cdrom_get_status':
> > > > > > : undefined reference to `lrint'
> > > > > >
> > > > > > According to man 3 lrint:
> > > > > >
> > > > > > HISTORY
> > > > > >      These routines first appeared in FreeBSD 5.4.
> > > > > >
> > > > > > I'm guessing you aren't running FreeBSD 5.4.
> > > > > >
> > > > > > Here is a pr that covers the same problem your having:
> > > > > >
> > > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=79547
> > > > > >
> > > > > > This PR is closed and it doesn't seem to have a corrective action, so I
> > > > > > don't have an answere for you. gnome at FreeBSD.org is listed as
> > > > > > thegnomemedia2 ports maintainer so hopefully someone in that list will
> > > > > > have a solution for the missing lrint() function.  Portmanager can't fix
> > > > > > broken ports, sorry.
> > > > >
> > > > > Hello
> > > > >
> > > > > in fact, I need to upgrade to 5.4 in order to solve the problem
> > > > >
> > > > > The port isn't compatible with the stable version, I guess ...
> > > > >
> > > > > i will  try the upgrading
> > > > >
> > > > > In any case, thank you
> > > > >
> > > > Your welcome.  Hopefully someone on the gnome team will come up with
> > > > a fix so gnomemedia2 is usable on older FreeBSD versions.
> > > 
> > > It is usable!  The PR you quoted says the problem was fixed.  If you
> > > look at the port's Makefile, you will see it is fixed.  The port builds
> > > just fine in a clean 5.3 Tinderbox.  All that's needed here is a cvsup
> > > of the ports tree.
> > > 
> > > Joe
> > > 
> > > > 
> > > > -Mike
> > > > _______________________________________________
> > > > freebsd-gnome at freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> > > > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> > > > 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050417/b5f99711/attachment.bin


More information about the freebsd-gnome mailing list