Subject: Re: pkgsrc + ogle
To: Daniel Bento <danielbento@overdestiny.com>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 01/09/2006 00:48:25
On Sun, 8 Jan 2006 23:43:29 +0000
Daniel Bento <danielbento@overdestiny.com> wrote:

> Hello,
> I'm trying to install ogle-0.9.2 ( on pkgsrc/multimedia/ogle/ ) in my
> laptop, with NetBSD-current (3.99.15), but during the make i had this
> problem,  
> cc -fomit-frame-pointer -funroll-loops -O2
> -I/usr/pkgsrc/multimedia/ogle/work/.buildlink/include
> -I/usr/pkgsrc/multimedia/ogle/work/.buildlink/include/freetype2 -Wall
> -O2 -Wall -march=i586 -mcpu=pentiumpro -Wl,-R/usr/pkg/lib
> -Wl,-R/usr/pkg/xorg/lib -o .libs/ogle_mpeg_vs video_stream.o
> video_mpeg1.o video_mpeg2.o video_motion.o c_getbits.o video_tables.o
> yuv2rgb_mmx.o idct_mmx.o mmx_mlib.o 
> -L/usr/pkgsrc/multimedia/ogle/work/.buildlink/lib
> -L/usr/pkgsrc/multimedia/ogle/work/.x11-buildlink/lib
> ../common/libcommon.a ../ogle/.libs/libmsgevents.so -lintl -Wl,--rpath
> -Wl,/usr/pkg/lib/ogle video_mpeg1.o(.text+0x2d0): In function
> `__sigaddset14': : multiple definition of `__sigaddset14'
> video_stream.o(.text+0x2d0): first defined here
> video_mpeg1.o(.text+0x320): In function `__sigdelset14':
> : multiple definition of `__sigdelset14'
> video_stream.o(.text+0x320): first defined here
> video_mpeg1.o(.text+0x370): In function `__sigismember14':
> : multiple definition of `__sigismember14'
> video_stream.o(.text+0x370): first defined here
> video_mpeg1.o(.text+0x3c0): In function `__sigemptyset14':
> : multiple definition of `__sigemptyset14'
> video_stream.o(.text+0x3c0): first defined here
> video_mpeg1.o(.text+0x3f0): In function `__sigfillset14':
> : multiple definition of `__sigfillset14'
> video_stream.o(.text+0x3f0): first defined here
> video_mpeg2.o(.text+0x2d0): In function `__sigaddset14':
> : multiple definition of `__sigaddset14'
> video_stream.o(.text+0x2d0): first defined here
> video_mpeg2.o(.text+0x320): In function `__sigdelset14':
> : multiple definition of `__sigdelset14'
> video_stream.o(.text+0x320): first defined here
> video_mpeg2.o(.text+0x370): In function `__sigismember14':
> : multiple definition of `__sigismember14'
> video_stream.o(.text+0x370): first defined here
> video_mpeg2.o(.text+0x3c0): In function `__sigemptyset14':
> : multiple definition of `__sigemptyset14'
> video_stream.o(.text+0x3c0): first defined here
> video_mpeg2.o(.text+0x3f0): In function `__sigfillset14':
> : multiple definition of `__sigfillset14'
> video_stream.o(.text+0x3f0): first defined here
> video_motion.o(.text+0x2d0): In function `__sigaddset14':
> : multiple definition of `__sigaddset14'
> video_stream.o(.text+0x2d0): first defined here
> video_motion.o(.text+0x320): In function `__sigdelset14':
> : multiple definition of `__sigdelset14'
> video_stream.o(.text+0x320): first defined here
> video_motion.o(.text+0x370): In function `__sigismember14':
> : multiple definition of `__sigismember14'
> video_stream.o(.text+0x370): first defined here
> video_motion.o(.text+0x3c0): In function `__sigemptyset14':
> : multiple definition of `__sigemptyset14'
> video_stream.o(.text+0x3c0): first defined here
> video_motion.o(.text+0x3f0): In function `__sigfillset14':
> : multiple definition of `__sigfillset14'
> video_stream.o(.text+0x3f0): first defined here
> gmake[1]: *** [ogle_mpeg_vs] Error 1
> gmake[1]: Leaving directory
> `/usr/pkgsrc/multimedia/ogle/work/ogle-0.9.2/mpeg2_video' gmake: ***
> [all-recursive] Error 1 *** Error code 2
> 
> Stop.
> make: stopped in /usr/pkgsrc/multimedia/ogle
> ===> 
> ===> There was an error during the ``build'' phase.
> ===> Please investigate the following for more information:
> ===>      * log of the build
> ===>      * /usr/pkgsrc/multimedia/ogle/work/.work.log
> ===> 
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/multimedia/ogle
> (root@orion - /usr/pkgsrc/multimedia/ogle)$  
> 
> I have seen that isn't a ogle problem because in a Linux box, the same
> ogle-0.9.2 has compiled without problems... 
> 
> Any ideas?

You should contact the maintainer of the package and/or the original
author of the software and not the current@ list.
The fact it compiles on Linux means the guy who coded it did it on
Linux without NetBSD in mind so the ogle code as many other packages
needs to be patched in order to cleanly compile on NetBSD.


Cheers,
Marcin.