GNOME Bugzilla – Bug 143749
tcp plugin dosn't compile on FreeBSD
Last modified: 2004-12-22 21:47:04 UTC
The tcp plugin from cvs dosn't compile because: 1. MSG_NOSIGNAL is not defined 2. off_t needs unistd.h to be included.
Created attachment 28360 [details] [review] patch to let the tcp plugin build
confirmed on solaris 10 too (gst build bot) Making all in tcp make all-am source='gsttcp.c' object='libgsttcp_la-gsttcp.lo' libtool=yes \ depfile='.deps/libgsttcp_la-gsttcp.Plo' tmpdepfile='.deps/libgsttcp_la-gsttcp.TPlo' \ depmode=none /bin/bash ../../depcomp \ /bin/bash ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/include -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/export/home/buildbot/prefix/include/gstreamer-0.8 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/libxml2 -DGST_DISABLE_DEPRECATED -DGST_ENABLE_NEW -I/opt/csw/include -c -o libgsttcp_la-gsttcp.lo `test -f 'gsttcp.c' || echo './'`gsttcp.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/include -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/export/home/buildbot/prefix/include/gstreamer-0.8 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/libxml2 -DGST_DISABLE_DEPRECATED -DGST_ENABLE_NEW -I/opt/csw/include -c gsttcp.c -KPIC -DPIC -o .libs/libgsttcp_la-gsttcp.o "gsttcp.c", line 87: warning: pointer to void or function used in arithmetic "gsttcp.c", line 88: undefined symbol: MSG_NOSIGNAL "gsttcp.c", line 112: warning: pointer to void or function used in arithmetic cc: acomp failed for gsttcp.c make: Fatal error: Command failed for target `libgsttcp_la-gsttcp.lo' Current working directory /export/home/buildbot/gst-plugins/build/gst/tcp make: Fatal error: Command failed for target `all' Current working directory /export/home/buildbot/gst-plugins/build/gst/tcp make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/buildbot/gst-plugins/build/gst make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/buildbot/gst-plugins/build make: Fatal error: Command failed for target `all' *** Error code 1 *** Error code 1 *** Error code 1 *** Error code 1 *** Error code 1 program finished with exit code 1
patch commited to CVS, thanks