MythTV 0.28 build on Freebsd

For discussion of topics specific to MythTV on FreeBSD
Post Reply
rkl15
Newcomer
Posts: 2
Joined: Sun Jan 24, 2016 1:45 am
Great Britain

MythTV 0.28 build on Freebsd

Post by rkl15 » Sun Jan 24, 2016 1:58 am

Hi

I am trying to build 0.28 (source from 17 Jan 2016) on FreeBSD 10.2 (using clang) and receiving the following error:

In file included from dvdnav/dvdnav.c:36:
dvdnav/dvdnav/dvdnav.h:483:70: error: unknown type name 'DVDBtnGrp_t'
dvdnav_status_t dvdnav_get_highlight_area_from_group(pci_t *nav_pci, DVDBtnGrp_t group,
^
1 error generated.
Makefile:550: recipe for target 'dvdnav.o' failed
gmake[4]: *** [dvdnav.o] Error 1
gmake[4]: Leaving directory '/home/mythtv/mythtv-master/mythtv/external/libmythdvdnav'
Makefile:54: recipe for target 'libmythdvdnav-all' failed
gmake[3]: *** [libmythdvdnav-all] Error 2

Any help greatly appreciated.

Many thanks

User avatar
stuarta
Developer
Posts: 195
Joined: Wed Feb 05, 2014 5:13 pm
Great Britain

Re: MythTV 0.28 build on Freebsd

Post by stuarta » Mon Feb 29, 2016 11:56 am

Can you include more of the error? from the compile command for the failing file should be sufficient

User avatar
stuarta
Developer
Posts: 195
Joined: Wed Feb 05, 2014 5:13 pm
Great Britain

Re: MythTV 0.28 build on Freebsd

Post by stuarta » Tue Mar 01, 2016 11:33 am

Okay, so i've setup a FreeBSD 10.2 buildslave. That too failed, but much later in the build than yours.

rkl15
Newcomer
Posts: 2
Joined: Sun Jan 24, 2016 1:45 am
Great Britain

Re: MythTV 0.28 build on Freebsd

Post by rkl15 » Wed Mar 23, 2016 9:56 pm

Many thanks for the reply, hope this is sufficient (mythtv-master source from today, building on FreeBSD 10.3-PRERELEASE):

gmake[4]: Entering directory '/home/mythtv/mythtv-master/mythtv/external/libmythdvdnav'
cc -c -pipe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -O2 -march=core-avx2 -fstack-protector -fno-strict-aliasing -std=c99 -DNDEBUG
-fomit-frame-pointer -fPIC -pthread -I/usr/local/include -g -Wall -Wdisabled-optimization -Wpointer-arith -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -W
no-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -Qunused-argume
nts -Werror=implicit-function-declaration -Werror=return-type -w -pthread -D_THREAD_SAFE -DMMX -D_GNU_SOURCE -DDVDREAD_VERSION_MAJOR=5 -DDVDREAD_VERSION_MINOR=90 -DDVDR
EAD_VERSION_MICRO=0 -DDVDREAD_VERSION=5.90.0 -DDVDREAD_VERSION_STRING=\"5.90.0\" -DHAVE_AV_CONFIG_H -I. -I/usr/local/include/libxml2 -I. -I../.. -Idvdnav -Idvdread -I..
/../libs/libmythbase -I../../libs/libmythtv -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-g++ -o dvdnav.o dvdnav/dvdnav.c
Can't parse version '.28git'
In file included from dvdnav/dvdnav.c:36:
dvdnav/dvdnav/dvdnav.h:483:70: error: unknown type name 'DVDBtnGrp_t'
dvdnav_status_t dvdnav_get_highlight_area_from_group(pci_t *nav_pci, DVDBtnGrp_t group,
^
gmake[4]: Entering directory '/home/mythtv/mythtv-master/mythtv/external/libsamplerate'
cc -c -pipe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -O2 -march=core-avx2 -fstack-protector -fno-strict-aliasing -std=c99 -DNDEBUG
-fomit-frame-pointer -fPIC -pthread -I/usr/local/include -g -Wall -Wdisabled-optimization -Wpointer-arith -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -W
no-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -Qunused-argume
nts -Werror=implicit-function-declaration -Werror=return-type -w -pthread -D_THREAD_SAFE -DMMX -D_GNU_SOURCE -DHAVE_AV_CONFIG_H -I. -I/usr/local/include -I/usr/local/in
clude/libxml2 -I.. -I../.. -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-g++ -o samplerate.o samplerate.c
1 error generated.
Makefile:640: recipe for target 'dvdnav.o' failed
gmake[4]: *** [dvdnav.o] Error 1
gmake[4]: Leaving directory '/home/mythtv/mythtv-master/mythtv/external/libmythdvdnav'
Makefile:54: recipe for target 'libmythdvdnav-all' failed
gmake[3]: *** [libmythdvdnav-all] Error 2


I am also getting another failure further on:

cc -c -pipe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -O2 -march=core-avx2 -fstack-protector -fno-strict-aliasing -std=c99 -DNDEBUG
-fomit-frame-pointer -fPIC -pthread -I/usr/local/include -g -Wall -Wdisabled-optimization -Wpointer-arith -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -W
no-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -Qunused-argume
nts -Werror=implicit-function-declaration -Werror=return-type -w -pthread -D_THREAD_SAFE -DMMX -D_GNU_SOURCE -DENABLE_UDF -DBLURAY_VERSION_MAJOR=0 -DBLURAY_VERSION_MINO
R=9 -DBLURAY_VERSION_MICRO=2 -DBLURAY_VERSION_STRING=\"0.9.2\" -DHAVE_CONFIG_H -DDLOPEN_CRYPTO_LIBS -DHAVE_PTHREAD_H -DHAVE_DIRENT_H -DHAVE_STRINGS_H -DHAVE_LIBXML2 -I.
-I/usr/local/include -I/usr/local/include/libxml2 -I. -I../.. -Ilibbluray -Ilibbluray/bdnav -I../libudfread -I../../libs/libmythbase -I../../libs/libmythtv -I/usr/loca
l/include -I/usr/local/lib/qt5/mkspecs/freebsd-g++ -o bdid_parse.o libbluray/bdnav/bdid_parse.c
cc -c -pipe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -O2 -march=core-avx2 -fstack-protector -fno-strict-aliasing -std=c99 -DNDEBUG
-fomit-frame-pointer -fPIC -pthread -I/usr/local/include -g -Wall -Wdisabled-optimization -Wpointer-arith -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -W
no-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -Qunused-argume
nts -Werror=implicit-function-declaration -Werror=return-type -w -pthread -D_THREAD_SAFE -DMMX -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/inclu
de/libxml2 -I. -I../.. -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-g++ -o udfread.o udfread.c
In file included from libavdevice/alldevices.c:22:
In file included from libavdevice/avdevice.h:46:
In file included from ./libavutil/log.h:25:
In file included from ./libavutil/avutil.h:288:
In file included from ./libavutil/common.h:467:
In file included from ./libavutil/internal.h:166:
./libavutil/libm.h:366:31: error: static declaration of 'hypot' follows non-static declaration
static inline av_const double hypot(double x, double y)
^
/usr/include/math.h:276:8: note: previous declaration is here
double hypot(double, double);
^
1 error generated.
/home/mythtv/mythtv-master/mythtv/external/FFmpeg/common.mak:60: recipe for target 'libavdevice/alldevices.o' failed
gmake[4]: *** [libavdevice/alldevices.o] Error 1
c++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE -msse -pthread -g -Wall -Wpointer-arith
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -fPIC -w -pthread -D_THREAD_SAFE -st
d=c++0x -DMMX -D_GNU_SOURCE -DALLOW_SSE2 -DALLOW_SSE3 -I. -I/usr/local/include -I/usr/local/include/libxml2 -I. -I../.. -I/usr/local/include -I/usr/local/lib/qt5/mkspec
s/freebsd-g++ -o RateTransposer.o RateTransposer.cpp
gmake[4]: Leaving directory '/home/mythtv/mythtv-master/mythtv/external/FFmpeg'
Makefile:28: recipe for target 'FFmpeg-all' failed
gmake[3]: *** [FFmpeg-all] Error 2


Many thanks

Post Reply