again compilation of lcr

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Ihab el Bakri ihab.elbakri at hotmail.com
Thu Mar 11 13:41:47 UTC 2010



Hi, 

am still getting this error:

 make
make  all-am
make[1]: Entering directory `/usr/src/develop/lcr'
g++  -g -O2   -o lcr gsm_audio.o gsm.o gsm_conf.o bsc_init.o vty_interface.o vty_interface_layer3.o  select.o action.o mISDN.o tones.o action_efi.o crypt.o mail.o trace.o action_vbox.o dss1.o main.o vbox.o alawulaw.o endpoint.o interface.o message.o apppbx.o endpointapp.o join.o options.o extension.o joinpbx.o port.o callerid.o joinremote.o route.o cause.o socket_server.o  -lmisdn -lpthread /usr/lib/libgsm.a ./openbsc/src/libbsc.a ./openbsc/src/libmsc.a ./openbsc/src/libvty.a -L./libosmocore/src/ -losmocore -ldbi -lcrypt -lpthread -lncurses -lm
gsm_conf.o: In function `sprint':
/usr/src/develop/lcr/macro.h:48: multiple definition of `gsm48_cc_msg_names'
gsm.o:/usr/src/develop/lcr/gsm.cpp:1463: first defined here
action.o:/usr/src/develop/lcr/action.cpp:67: multiple definition of `gsm48_cc_msg_names'
gsm.o:/usr/src/develop/lcr/gsm.cpp:1463: first defined here
mISDN.o: In function `mISDNport_static(mISDNport*)':
/usr/src/develop/lcr/mISDN.cpp:2419: multiple definition of `gsm48_cc_msg_names'
gsm.o:/usr/src/develop/lcr/gsm.cpp:1463: first defined here
tones.o: In function `read_tone_fetched(void**, void*, int, int, int*, int)':
/usr/src/develop/lcr/tones.c:542: multiple definition of `gsm48_cc_msg_names'
gsm.o:/usr/src/develop/lcr/gsm.cpp:1463: first defined here
action_efi.o:/usr/src/develop/lcr/action_efi.cpp:137: multiple definition of `gsm48_cc_msg_names'
gsm.o:/usr/src/develop/lcr/gsm.cpp:1463: first defined here
crypt.o: In function `crc_init()':
........
..........
..........


installed libosmocore , openbsc , then  lcr from git ,, git checkout develop .. 

Best regards 

Ihab el Bakri

Subject: again compilation of lcr
Date: Thu, 11 Mar 2010 14:17:34 +0100
From: Andreas.Eversberg at versatel.de
To: ihab.elbakri at hotmail.com
CC: openbsc at lists.gnumonks.org








hi,
 
now after changing 
code of lcr, it compiles with libosmocom and openbsc. all packets are the 
latest (mISDN, mISDNuser, libosmocom, openbsc, lcr) i have started it 
without crashing, but i could not test it. please change to "develop" branch of 
LCR.
 
be sure to add links 
to openbsc and libosmocore to the LCR source 
directories:
 
libosmocore -> 
../libosmocore/
openbsc -> 
../openbsc/openbsc/
 
 
also i found some 
little problems while compiling osmocore and openbsc:
 
the 'extern' is 
missing:
 
diff --git 
a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h
index 6356379..787cdd0 
100644
--- a/include/osmocore/gsm48.h
+++ b/include/osmocore/gsm48.h
@@ 
-6,7 +6,7 @@
 
 extern const 
struct tlv_definition gsm48_att_tlvdef;
 extern const char 
*cc_state_names[32];
-const char *gsm48_cc_msg_names[0x40];
+extern const 
char *gsm48_cc_msg_names[0x40];
 const char *rr_cause_name(uint8_t 
cause);
 
 void 
gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t 
mcc,

 
an here is a warning 
i did not analyse yet:
 
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: 
Warning: size of symbol `rsl_rlm_cause_strs' changed from 8 in 
./openbsc/src/libbsc.a(abis_rsl.o) to 120 in 
/usr/local/lib/libosmocore.so
 
 
regards,
 
andreas
  		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20100311/adc7567a/attachment.htm>


More information about the OpenBSC mailing list