<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
</head>
<body>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,<br>
<br>
I am trying to compile livemedia for Axis Cris platform. Firstly I made some modifications to config.cris-axis-linux-gnu -file:<br>
<br>
--- a/external/live/config.cris-axis-linux-gnu<br>
+++ b/external/live/config.cris-axis-linux-gnu<br>
@@ -5,17 +5,17 @@<br>
AXIS_DIR = $(AXIS_TOP_DIR)/target/cris-axis-linux-gnu<br>
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<br>
C = c<br>
-C_COMPILER = gcc-cris<br>
+C_COMPILER = crisv32-axis-linux-gnu-gcc<br>
C_FLAGS = $(COMPILE_OPTS)<br>
CPP = cpp<br>
-CPLUSPLUS_COMPILER = c++-cris<br>
+CPLUSPLUS_COMPILER = crisv32-axis-linux-gnu-g++<br>
CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wno-ctor-dtor-privacy -ansi -pipe<br>
OBJ = o<br>
-LINK = c++-cris -static -o<br>
+LINK = crisv32-axis-linux-gnu-g++ -static -o<br>
AXIS_LINK_OPTS = -L$(AXIS_DIR)/lib<br>
LINK_OPTS = -L.<br>
CONSOLE_LINK_OPTS = $(LINK_OPTS) -L$(AXIS_DIR)/lib -mlinux<br>
-LIBRARY_LINK = ld-cris -mcrislinux -o<br>
+LIBRARY_LINK = crisv32-axis-linux-gnu-ld -mcrislinux -o<br>
LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic<br>
LIB_SUFFIX = a<br>
LIBS_FOR_CONSOLE_APPLICATION =<br>
<br>
<br>
And my compilation fails:<br>
make[1]: Entering directory `/home/karika/compiletest/live/testProgs'<br>
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<br>
../liveMedia/libliveMedia.a: could not read symbols: Bad value<br>
collect2: ld returned 1 exit status<br>
<br>
<br>
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.<br>
<br>
Any ideas?<br>
<br>
<br>
<br>
Kari Kallioinen<br>
<br>
<br>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="2"><br>
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.<br>
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html<br>
</font>
</body>
</html>