[Live-devel] Compiling problem for armlinux
Çagdas Genç
cgyencia at hotmail.com
Tue Feb 21 16:42:05 PST 2006
I solve this problem, i chance config.armlinux like below
CROSS_COMPILE= arm-linux-
COMPILE_OPTS = $(INCLUDES) -I /usr/local/arm/arm-linux/lib -O2
-DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1
C = c
C_COMPILER = $(CROSS_COMPILE)gcc
C_FLAGS = $(COMPILE_OPTS)
CPP = cpp
CPLUSPLUS_COMPILER = $(CROSS_COMPILE)g++
CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1
OBJ = o
LINK = $(CROSS_COMPILE)g++ -o
LINK_OPTS = -L.
CONSOLE_LINK_OPTS = $(LINK_OPTS)
LIBRARY_LINK = $(CROSS_COMPILE)ld -o
LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic
LIB_SUFFIX = a
LIBS_FOR_CONSOLE_APPLICATION =
LIBS_FOR_GUI_APPLICATION =
EXE =
>From: "Çagdas Genç" <cgyencia at hotmail.com>
>Reply-To: LIVE555 Streaming Media - development &
>use<live-devel at ns.live555.com>
>To: live-devel at ns.live555.com
>Subject: [Live-devel] Compiling problem for armlinux
>Date: Tue, 21 Feb 2006 13:12:53 +0000
>
>I am still trying live555 for armlinux with Red Hat 7.3 machine and
>arm-linux-gcc (GCC) 3.2.3
>I think i have a header problem but i can't solve it..
>
>
>The process is started like this..
>
>[root at vm_machine live]# ./genMakefiles armlinux
>[root at vm_machine live]# make
>
>
>It begin with no problem
>
>....
>arm-linux-gcc -c -Iinclude -I../UsageEnvironment/include
>-I../groupsock/include -I. -O2 -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1
>-D_LARGEFILE_SOURCE=1 -Wall -DBSD=1 AMRAudioSource.cpp
>arm-linux-gcc -c -Iinclude -I../UsageEnvironment/include
>-I../groupsock/include -I. -O2 -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1
>-D_LARGEFILE_SOURCE=1 -Wall -DBSD=1 AMRAudioFileSource.cpp ......
>
>
>and
>
>arm-linux-ld -olibliveMedia.a -L. -r -Bstatic \
> Media.o MediaSource.o FramedSource.o FramedFileSource.o
>FramedFilter.o ByteStreamFileSource.o ByteStreamMultiFileSource.o
>BasicUDPSource.o DeviceSource.o AudioInputDevice.o WAVAudioFileSource.o
>MPEG1or2Demux.o MPEG1or2DemuxedElementaryStream.o MPEGVideoStreamFramer.o
>MPEG1or2VideoStreamFramer.o MPEG1or2VideoStreamDiscreteFramer.o
>MPEG4VideoStreamFramer.o ......
>
>
>make[1]: Entering directory `/root/cgyencia/live555-latest/live/testProgs'
>arm-linux-gcc -c -I../UsageEnvironment/include -I../groupsock/include
>-I../liveMedia/include -I../BasicUsageEnvironment/include -I. -O2
>-DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -Wall -DBSD=1
>testMP3Streamer.cpp
>arm-linux-gcc -otestMP3Streamer -L. testMP3Streamer.o
>../liveMedia/libliveMedia.a ../groupsock/libgroupsock.a
>../UsageEnvironment/libUsageEnvironment.a
>../BasicUsageEnvironment/libBasicUsageEnvironment.a
>make: *** Deleting file `testProgs/testMP3Streamer'
>make[1]: *** [testMP3Streamer] Interrupt
>make: *** [testProgs/testMP3Streamer] Interrupt
>
>then, it gives the errors below for hundreds of times....
>
>: undefined reference to `operator delete(void*)'
>../liveMedia/libliveMedia.a(.text+0x13f58): In function
>`MPEG2TransportStreamMultiplexor::deliverPATPacket()':
>: undefined reference to `operator new[](unsigned)'
>../liveMedia/libliveMedia.a(.text+0x14024): In function
>`MPEG2TransportStreamMultiplexor::deliverPATPacket()':
>
>What should i do?!?
>
>
>Best Regards,
>
>Cgyencia
>
>
>_______________________________________________
>live-devel mailing list
>live-devel at lists.live555.com
>http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list