Hi,

I am trying to compile livemedia for Axis Cris platform. Firstly I made some 
modifications to config.cris-axis-linux-gnu -file:

--- a/external/live/config.cris-axis-linux-gnu
+++ b/external/live/config.cris-axis-linux-gnu
@@ -5,17 +5,17 @@
 AXIS_DIR = $(AXIS_TOP_DIR)/target/cris-axis-linux-gnu
 COMPILE_OPTS = $(INCLUDES) -I. -mlinux -isystem $(AXIS_DIR)/include -Wall -O2 
-DSOCKLEN_T=socklen_t -DCRIS -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
 C =                    c
-C_COMPILER =           gcc-cris
+C_COMPILER =           crisv32-axis-linux-gnu-gcc
 C_FLAGS =              $(COMPILE_OPTS)
 CPP =                  cpp
-CPLUSPLUS_COMPILER =   c++-cris
+CPLUSPLUS_COMPILER =   crisv32-axis-linux-gnu-g++
 CPLUSPLUS_FLAGS =      $(COMPILE_OPTS) -Wno-ctor-dtor-privacy -ansi -pipe
 OBJ =                  o
-LINK =                 c++-cris -static -o
+LINK =                 crisv32-axis-linux-gnu-g++ -static -o
 AXIS_LINK_OPTS =       -L$(AXIS_DIR)/lib
 LINK_OPTS =            -L.
 CONSOLE_LINK_OPTS =    $(LINK_OPTS) -L$(AXIS_DIR)/lib -mlinux
-LIBRARY_LINK =         ld-cris -mcrislinux -o
+LIBRARY_LINK =         crisv32-axis-linux-gnu-ld -mcrislinux -o
 LIBRARY_LINK_OPTS =    $(LINK_OPTS) -r -Bstatic
 LIB_SUFFIX =                   a
 LIBS_FOR_CONSOLE_APPLICATION =


And my compilation fails:
make[1]: Entering directory `/home/karika/compiletest/live/testProgs'
crisv32-axis-linux-gnu-g++ -static -otestMP3Streamer -L. 
-L/home/karika/axis/emb-app-sdk_1_3/target/cris-axis-linux-gnu/lib -mlinux 
testMP3Streamer.o ../liveMedia/libliveMedia.a ../groupsock/libgroupsock.a 
../BasicUsageEnvironment/libBasicUsageEnvironment.a 
../UsageEnvironment/libUsageEnvironment.a
../liveMedia/libliveMedia.a: could not read symbols: Bad value
collect2: ld returned 1 exit status


And I have no Idea why libliveMedia.a is broken. libgroupsock.a is working one 
and it is compiled and linked with same flags as libliveMedia.a.

Any ideas?



  Kari Kallioinen



________________________________

SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary 
or legally privileged information. In case you are not the original intended 
Recipient of the message, you must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message and you are requested to 
delete it and inform the sender. Any views expressed in this message are those 
of the individual sender unless otherwise stated. Nothing contained in this 
message shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to