pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Want both amarok and mp4art



Thomas Klausner wrote:

> Hi Simon!

Hi Thomas!  Thanks for looking at this.

> On Fri, Apr 14, 2017 at 03:43:43PM +1000, Simon Burge wrote:
> > I'd like to have both amarok and a program called mp4art installed at
> > the same time.  This is on NetBSD 7 on amd64 with pkgsrc-2017Q1.
> ...
> 
> > As far as I can tell, libmp4v2, mpeg4ip, and mp4v2 are all pretty much
> > just different versions of the same mpeg4 library.
> 
> mpeg4ip is an older version of libmp4v2.
> mp4v2 is based on both, but has different header files.
> 
> I've removed mpeg4ip from pkgsrc, and made libmp4v2 install the
> programs.

I've applied your pkgsrc/multimedia/libmp4v2 patch to my pkgsrc-2017Q1
tree, but the build fails.  My c++ is non-existant - any hints on how to
fix this?

...
Making all in iso-mpeg4
/usr/bin/make  all-recursive
Making all in src
Making all in src
if /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I.. -I./../include  -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm  -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wmissing-prototypes -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -DMPEG4IP -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -MT type_basic.lo -MD -MP -MF ".deps/type_basic.Tpo" -c -o type_basic.lo type_basic.cpp;  then mv -f ".deps/type_basic.Tpo" ".deps/type_basic.Plo"; else rm -f ".deps/type_basic.Tpo"; exit 1; fi
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -I./../include -I/home/simonb/netbsd/obj/pkg/multimedia/libmp4v2/work.athlon/.buildlink/include -I/home/simonb/netbsd/obj/pkg/multimedia/libmp4v2/work.athlon/.x11-buildlink/include -I/home/simonb/netbsd/obj/pkg/multimedia/libmp4v2/work.athlon/.x11-buildlink/include/libdrm -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wmissing-prototypes -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -O2 -DMPEG4IP -I/home/simonb/netbsd/obj/pkg/multimedia/libmp4v2/work.athlon/.buildlink/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -MT type_basic.lo -MD -MP -MF .deps/type_basic.Tpo -c type_basic.cpp  -fPIC -DPIC -o .libs/type_basic.o
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
type_basic.cpp:320:32: error: '<anonymous>' has incomplete type
 Void CMotionVector::setToZero (Void)
                                ^
type_basic.cpp:320:36: error: invalid use of 'Void {aka void}'
 Void CMotionVector::setToZero (Void)
                                    ^
type_basic.cpp:320:6: error: prototype for 'Void CMotionVector::setToZero(<type error>)' does not match any in class 'CMotionVector'
 Void CMotionVector::setToZero (Void)
      ^
In file included from type_basic.cpp:46:0:
./../include/basic.hpp:441:7: error: candidate is: Void CMotionVector::setToZero()
  Void setToZero ();
       ^
*** Error code 1

Stop.
make[6]: stopped in /home/simonb/netbsd/obj/pkg/multimedia/libmp4v2/work.athlon/mpeg4ip-1.6.1/common/video/iso-mpeg4/src
*** Error code 1

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index