#345 closed defect (invalid)
compiling error on osx 10.4 latest cvs
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | very important | Component: | core |
Version: | HEAD | Severity: | critical |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
this is ./configure: ./configure --enable-live --enable-xmms --enable-gui --with-extraincdir=/sw/
include/ --with-extralibdir=/sw/lib/ --enable-profile --disable-altivec
this is the compile:
pnm.c: In function 'pnm_send_request':
pnm.c:444: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:445: warning: pointer targets in passing argument 3 of 'pnm_write_chunk' differ in signedness
pnm.c:447: warning: pointer targets in passing argument 3 of 'pnm_write_chunk' differ in signedness
pnm.c:452: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:453: warning: pointer targets in passing argument 3 of 'pnm_write_chunk' differ in signedness
pnm.c:463: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:464: warning: pointer targets in passing argument 3 of 'pnm_write_chunk' differ in signedness
pnm.c:466: warning: pointer targets in passing argument 3 of 'pnm_write_chunk' differ in signedness
pnm.c:474: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:474: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:476: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:477: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c: In function 'pnm_get_headers':
pnm.c:537: warning: pointer targets in passing argument 4 of 'pnm_get_chunk' differ in signedness
pnm.c: In function 'pnm_connect':
pnm.c:799: warning: pointer targets in passing argument 2 of 'pnm_send_response' differ in
signedness
pnm.c: In function 'pnm_read':
pnm.c:816: warning: pointer targets in initialization differ in signedness
pnm.c:837: warning: pointer targets in assignment differ in signedness
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o rtp.o rtp.c
rtp.c: In function 'rtp_open_socket':
rtp.c:154: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o realrtsp/asmrp.o realrtsp/asmrp.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o realrtsp/real.o realrtsp/real.c
realrtsp/real.c: In function 'real_calc_response_and_checksum':
realrtsp/real.c:402: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
realrtsp/real.c: In function 'real_get_rdt_chunk':
realrtsp/real.c:609: warning: pointer targets in passing argument 2 of 'rtsp_read_data' differ in
signedness
realrtsp/real.c:630: warning: pointer targets in passing argument 2 of 'rtsp_read_data' differ in
signedness
realrtsp/real.c:636: warning: pointer targets in passing argument 2 of 'rtsp_read_data' differ in
signedness
realrtsp/real.c:644: warning: pointer targets in passing argument 2 of 'rtsp_read_data' differ in
signedness
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o realrtsp/rmff.o realrtsp/rmff.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o realrtsp/rtsp.o realrtsp/rtsp.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o realrtsp/rtsp_session.o realrtsp/rtsp_session.c
realrtsp/rtsp_session.c: In function 'rtsp_session_start':
realrtsp/rtsp_session.c:137: warning: pointer targets in passing argument 2 of 'rmff_dump_header'
differ in signedness
realrtsp/rtsp_session.c: In function 'rtsp_session_read':
realrtsp/rtsp_session.c:161: warning: pointer targets in initialization differ in signedness
realrtsp/rtsp_session.c:174: warning: pointer targets in assignment differ in signedness
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o realrtsp/sdpplin.o realrtsp/sdpplin.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -o realrtsp/xbuffer.o realrtsp/xbuffer.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -I/sw/include -mdynamic-no-pic -falign-loops=16 -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/ -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -std=gnu99 -I.. -I../loader -I/
sw/include/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/
include -I/liveMedia/include -I/UsageEnvironment/include -I/BasicUsageEnvironment/include -I/
groupsock/include -o demux_rtp.o demux_rtp.cpp
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:17:24: error: liveMedia.hh: No such file or directory
demux_rtp.cpp:14:36: error: BasicUsageEnvironment.hh: No such file or directory
demux_rtp.cpp:16:30: error: GroupsockHelper.hh: No such file or directory
demux_rtp_internal.h:22: error: 'MediaSubsession' has not been declared
demux_rtp_internal.h:24: error: 'MediaSubsession' has not been declared
demux_rtp_internal.h:33: error: 'Boolean' does not name a type
demux_rtp_internal.h:40: error: 'Boolean' does not name a type
demux_rtp.cpp:22: error: expected `)' before '*' token
demux_rtp.cpp:26: error: ISO C++ forbids declaration of 'FramedSource' with no type
demux_rtp.cpp:26: error: expected ';' before '*' token
demux_rtp.cpp:27: error: expected `;' before 'RTPSource'
demux_rtp.cpp:27: error: ISO C++ forbids declaration of 'RTPSource' with no type
demux_rtp.cpp:27: error: expected ';' before '*' token
demux_rtp.cpp:28: error: expected `;' before 'demuxer_t'
demux_rtp.cpp:34: error: 'Boolean' does not name a type
demux_rtp.cpp:51: error: ISO C++ forbids declaration of 'FramedSource' with no type
demux_rtp.cpp:51: error: expected ';' before '*' token
demux_rtp.cpp:52: error: ISO C++ forbids declaration of 'RTPSource' with no type
demux_rtp.cpp:52: error: expected ';' before '*' token
demux_rtp.cpp:61: error: ISO C++ forbids declaration of 'RTSPClient' with no type
demux_rtp.cpp:61: error: expected ';' before '*' token
demux_rtp.cpp:62: error: ISO C++ forbids declaration of 'SIPClient' with no type
demux_rtp.cpp:62: error: expected ';' before '*' token
demux_rtp.cpp:63: error: ISO C++ forbids declaration of 'MediaSession' with no type
demux_rtp.cpp:63: error: expected ';' before '*' token
demux_rtp.cpp:72: error: 'RTSPClient' was not declared in this scope
demux_rtp.cpp:72: error: 'client' was not declared in this scope
demux_rtp.cpp:72: error: expected primary-expression before 'char'
demux_rtp.cpp:72: error: initializer expression list treated as compound expression
demux_rtp.cpp:72: error: expected ',' or ';' before '{' token
demux_rtp.cpp:82: error: 'SIPClient' was not declared in this scope
demux_rtp.cpp:82: error: 'client' was not declared in this scope
demux_rtp.cpp:82: error: expected primary-expression before 'char'
demux_rtp.cpp:82: error: initializer expression list treated as compound expression
demux_rtp.cpp:82: error: expected ',' or ';' before '{' token
demux_rtp.cpp: In function 'demuxer_t* demux_open_rtp(demuxer_t*)':
demux_rtp.cpp:96: error: 'Boolean' was not declared in this scope
demux_rtp.cpp:96: error: expected `;' before 'success'
demux_rtp.cpp:98: error: 'TaskScheduler' was not declared in this scope
demux_rtp.cpp:98: error: 'scheduler' was not declared in this scope
demux_rtp.cpp:98: error: 'BasicTaskScheduler' has not been declared
demux_rtp.cpp:98: error: 'createNew' was not declared in this scope
demux_rtp.cpp:100: error: 'UsageEnvironment' was not declared in this scope
demux_rtp.cpp:100: error: 'env' was not declared in this scope
demux_rtp.cpp:100: error: 'BasicUsageEnvironment' has not been declared
demux_rtp.cpp:103: error: 'RTSPClient' was not declared in this scope
demux_rtp.cpp:103: error: 'rtspClient' was not declared in this scope
demux_rtp.cpp:104: error: 'SIPClient' was not declared in this scope
demux_rtp.cpp:104: error: 'sipClient' was not declared in this scope
demux_rtp.cpp:119: error: 'RTSPClient' is not a class or namespace
demux_rtp.cpp:125: error: 'openURL_rtsp' cannot be used as a function
demux_rtp.cpp:128: error: 'SIPClient' is not a class or namespace
demux_rtp.cpp:136: error: 'openURL_sip' cannot be used as a function
demux_rtp.cpp:147: error: 'MediaSession' was not declared in this scope
demux_rtp.cpp:147: error: 'mediaSession' was not declared in this scope
demux_rtp.cpp:147: error: 'MediaSession' is not a class or namespace
demux_rtp.cpp:155: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:156: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:157: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:164: error: 'MediaSubsessionIterator' was not declared in this scope
demux_rtp.cpp:164: error: expected `;' before 'iter'
demux_rtp.cpp:165: error: 'MediaSubsession' was not declared in this scope
demux_rtp.cpp:165: error: 'subsession' was not declared in this scope
demux_rtp.cpp:167: error: 'iter' was not declared in this scope
demux_rtp.cpp:189: error: 'increaseReceiveBufferTo' was not declared in this scope
demux_rtp.cpp:197: error: 'False' was not declared in this scope
demux_rtp.cpp:212: error: 'iter' was not declared in this scope
demux_rtp.cpp:219: error: no matching function for call to 'ReadBufferQueue::ReadBufferQueue(<type
error>, demuxer_t*&, const char [6])'
demux_rtp.cpp:20: note: candidates are: ReadBufferQueue::ReadBufferQueue()
demux_rtp.cpp:20: note: ReadBufferQueue::ReadBufferQueue(const ReadBufferQueue&)
demux_rtp.cpp:224: error: no matching function for call to 'ReadBufferQueue::ReadBufferQueue(<type
error>, demuxer_t*&, const char [6])'
demux_rtp.cpp:20: note: candidates are: ReadBufferQueue::ReadBufferQueue()
demux_rtp.cpp:20: note: ReadBufferQueue::ReadBufferQueue(const ReadBufferQueue&)
demux_rtp.cpp:230: error: 'success' was not declared in this scope
demux_rtp.cpp:230: error: 'True' was not declared in this scope
demux_rtp.cpp:232: error: 'success' was not declared in this scope
demux_rtp.cpp: At global scope:
demux_rtp.cpp:262: error: 'Boolean' has not been declared
demux_rtp.cpp: In function 'int demux_rtp_fill_buffer(demuxer_t*, demux_stream_t*)':
demux_rtp.cpp:273: error: 'False' was not declared in this scope
demux_rtp.cpp: At global scope:
demux_rtp.cpp:308: error: 'Boolean' does not name a type
demux_rtp.cpp:324: error: 'Boolean' does not name a type
demux_rtp.cpp: In function 'void demux_close_rtp(demuxer_t*)':
demux_rtp.cpp:364: error: 'UsageEnvironment' was not declared in this scope
demux_rtp.cpp:364: error: 'env' was not declared in this scope
demux_rtp.cpp:365: error: 'TaskScheduler' was not declared in this scope
demux_rtp.cpp:365: error: 'scheduler' was not declared in this scope
demux_rtp.cpp:366: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:367: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:370: error: 'Medium' has not been declared
demux_rtp.cpp:370: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:371: error: 'Medium' has not been declared
demux_rtp.cpp:371: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:372: error: 'Medium' has not been declared
demux_rtp.cpp:372: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:378: error: type '<type error>' argument given to 'delete', expected pointer
demux_rtp.cpp: In function 'void afterReading(void*, unsigned int, unsigned int, timeval, unsigned int)':
demux_rtp.cpp:405: error: 'Boolean' was not declared in this scope
demux_rtp.cpp:405: error: expected `;' before 'hasBeenSynchronized'
demux_rtp.cpp:407: error: 'hasBeenSynchronized' was not declared in this scope
demux_rtp.cpp:408: error: 'class ReadBufferQueue' has no member named
'prevPacketWasSynchronized'
demux_rtp.cpp:425: error: 'class ReadBufferQueue' has no member named
'prevPacketWasSynchronized'
demux_rtp.cpp:433: error: 'class ReadBufferQueue' has no member named
'prevPacketWasSynchronized'
demux_rtp.cpp:433: error: 'hasBeenSynchronized' was not declared in this scope
demux_rtp.cpp: At global scope:
demux_rtp.cpp:453: error: 'Boolean' has not been declared
demux_rtp.cpp: In function 'demux_packet_t* getBuffer(demuxer_t*, demux_stream_t*, int, float&)':
demux_rtp.cpp:469: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:491: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:495: error: 'TaskScheduler' was not declared in this scope
demux_rtp.cpp:495: error: 'scheduler' was not declared in this scope
demux_rtp.cpp:496: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:501: error: 'class ReadBufferQueue' has no member named
'prevPacketWasSynchronized'
demux_rtp.cpp:504: error: 'class ReadBufferQueue' has no member named
'prevPacketWasSynchronized'
demux_rtp.cpp: In function 'void teardownRTSPorSIPSession(RTPState*)':
demux_rtp.cpp:520: error: 'MediaSession' was not declared in this scope
demux_rtp.cpp:520: error: 'mediaSession' was not declared in this scope
demux_rtp.cpp:520: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:522: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:523: error: 'MediaSubsessionIterator' was not declared in this scope
demux_rtp.cpp:523: error: expected `;' before 'iter'
demux_rtp.cpp:524: error: 'MediaSubsession' was not declared in this scope
demux_rtp.cpp:524: error: 'subsession' was not declared in this scope
demux_rtp.cpp:526: error: 'iter' was not declared in this scope
demux_rtp.cpp:527: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:529: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:530: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp: At global scope:
demux_rtp.cpp:536: error: expected `)' before '*' token
make[1]: * [demux_rtp.o] Error 1
make: * [libmpdemux/libmpdemux.a] Error 2
Attachments (1)
Change History (3)
by , 19 years ago
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
demux_rtp_internal.h:17:24: error: liveMedia.hh: No such file or directory
If you don't install the live headers you can't expect it to work.
If you use any of the --enable options (except --enable-gui), do not report any
bugs! We won't help you in that case, because it almost certainly is you who did
something wrong.
these are the config.mak files