After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143749 - tcp plugin dosn't compile on FreeBSD
tcp plugin dosn't compile on FreeBSD
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other FreeBSD
: Normal normal
: 0.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-05 01:51 UTC by Andrew Turner
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to let the tcp plugin build (1.13 KB, patch)
2004-06-05 01:52 UTC, Andrew Turner
none Details | Review

Description Andrew Turner 2004-06-05 01:51:39 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.
Comment 1 Andrew Turner 2004-06-05 01:52:35 UTC
Created attachment 28360 [details] [review]
patch to let the tcp plugin build
Comment 2 Stephane Loeuillet 2004-06-05 15:18:13 UTC
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
Comment 3 Stephane Loeuillet 2004-06-05 15:40:19 UTC
patch commited to CVS, thanks