Opened 11 years ago

#2100 new defect

live555 fails to link

Reported by: compn Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

just passing this bug from irc, cant test atm.

============ Checking for LIVE555 Streaming Media libraries ============

#define RTSPCLIENT_SYNCHRONOUS_INTERFACE 1
#include <liveMedia.hh>
#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1141257600)
#error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
#endif
#include "BasicUsageEnvironment.hh"
int main(void) { RTSPClient::createNew(*BasicUsageEnvironment::createNew(*BasicTaskScheduler::createNew()), 0, "", 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--1523/tmp.cpp -Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/freetype2 -ffast-math -lncurses -lpng -lz -ljpeg -lfreetype -lz -lfontconfig -lz -lgsm -lXext -lX11 -lpthread -lXinerama -o /tmp/mplayer-configure--1523/tmp -I/usr/local/lib/live/liveMedia/include -I/usr/local/lib/live/UsageEnvironment/include -I/usr/local/lib/live/BasicUsageEnvironment/include -I/usr/local/lib/live/groupsock/include /usr/local/lib/live/liveMedia/libliveMedia.a /usr/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a /usr/local/lib/live/UsageEnvironment/libUsageEnvironment.a /usr/local/lib/live/groupsock/libgroupsock.a -lstdc++ -lstdc++ -lm
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
/tmp/cc2rPing.o: In function `main':
tmp.cpp:(.text+0xa9): undefined reference to `RTSPClient::createNew(UsageEnvironment&, int, char const*, unsigned short)'
collect2: ld returned 1 exit status

#define RTSPCLIENT_SYNCHRONOUS_INTERFACE 1
#include <liveMedia.hh>
#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1141257600)
#error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
#endif
#include "BasicUsageEnvironment.hh"
int main(void) { RTSPClient::createNew(*BasicUsageEnvironment::createNew(*BasicTaskScheduler::createNew()), 0, "", 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--1523/tmp.cpp -Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/freetype2 -ffast-math -lncurses -lpng -lz -ljpeg -lfreetype -lz -lfontconfig -lz -lgsm -lXext -lX11 -lpthread -lXinerama -o /tmp/mplayer-configure--1523/tmp -I/usr/local/lib/live/liveMedia/include -I/usr/local/lib/live/UsageEnvironment/include -I/usr/local/lib/live/BasicUsageEnvironment/include -I/usr/local/lib/live/groupsock/include /usr/local/lib/live/liveMedia/libliveMedia.a /usr/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a /usr/local/lib/live/UsageEnvironment/libUsageEnvironment.a /usr/local/lib/live/groupsock/libgroupsock.a -lstdc++ -lstdc++ -lm
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
/tmp/ccIa94dD.o: In function `main':
tmp.cpp:(.text+0xa9): undefined reference to `RTSPClient::createNew(UsageEnvironment&, int, char const*, unsigned short)'
collect2: ld returned 1 exit status

#define RTSPCLIENT_SYNCHRONOUS_INTERFACE 1
#include <liveMedia.hh>
#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1141257600)
#error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
#endif
#include "BasicUsageEnvironment.hh"
int main(void) { RTSPClient::createNew(*BasicUsageEnvironment::createNew(*BasicTaskScheduler::createNew()), 0, "", 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--1523/tmp.cpp -Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/freetype2 -ffast-math -lncurses -lpng -lz -ljpeg -lfreetype -lz -lfontconfig -lz -lgsm -lXext -lX11 -lpthread -lXinerama -o /tmp/mplayer-configure--1523/tmp -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock -lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -lstdc++ -lstdc++ -lm
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
/tmp/mplayer-configure--1523/tmp.cpp:2:24: error: liveMedia.hh: No such file or directory
/tmp/mplayer-configure--1523/tmp.cpp:3:6: warning: "LIVEMEDIA_LIBRARY_VERSION_INT" is not defined
/tmp/mplayer-configure--1523/tmp.cpp:4:2: error: #error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
/tmp/mplayer-configure--1523/tmp.cpp:6:36: error: BasicUsageEnvironment.hh: No such file or directory
/tmp/mplayer-configure--1523/tmp.cpp: In function 'int main()':
/tmp/mplayer-configure--1523/tmp.cpp:7: error: 'RTSPClient' has not been declared
/tmp/mplayer-configure--1523/tmp.cpp:7: error: 'BasicUsageEnvironment' has not been declared
/tmp/mplayer-configure--1523/tmp.cpp:7: error: 'BasicTaskScheduler' has not been declared

#define RTSPCLIENT_SYNCHRONOUS_INTERFACE 1
#include <liveMedia.hh>
#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1141257600)
#error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
#endif
#include "BasicUsageEnvironment.hh"
int main(void) { RTSPClient::createNew(*BasicUsageEnvironment::createNew(*BasicTaskScheduler::createNew()), 0, "", 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--1523/tmp.cpp -Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/freetype2 -ffast-math -lncurses -lpng -lz -ljpeg -lfreetype -lz -lfontconfig -lz -lgsm -lXext -lX11 -lpthread -lXinerama -o /tmp/mplayer-configure--1523/tmp -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock -lliveMedia_pic -lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic -lstdc++ -lstdc++ -lm
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
/tmp/mplayer-configure--1523/tmp.cpp:2:24: error: liveMedia.hh: No such file or directory
/tmp/mplayer-configure--1523/tmp.cpp:3:6: warning: "LIVEMEDIA_LIBRARY_VERSION_INT" is not defined
/tmp/mplayer-configure--1523/tmp.cpp:4:2: error: #error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
/tmp/mplayer-configure--1523/tmp.cpp:6:36: error: BasicUsageEnvironment.hh: No such file or directory
/tmp/mplayer-configure--1523/tmp.cpp: In function 'int main()':
/tmp/mplayer-configure--1523/tmp.cpp:7: error: 'RTSPClient' has not been declared
/tmp/mplayer-configure--1523/tmp.cpp:7: error: 'BasicUsageEnvironment' has not been declared
/tmp/mplayer-configure--1523/tmp.cpp:7: error: 'BasicTaskScheduler' has not been declared

Result is: no
##########################################

Change History (0)

Note: See TracTickets for help on using tickets.