Hi list,
I want to play with the mobile_app with TX and SIM-card support, so I checkout the sylvain/testing branch described in the wiki but the following error message occurs. The master branch work's very fine on my HW (C123).
Can someone give me a hint, what should I do to get a working testset with SIM support?
Here the shell-output by makeing sylvain/testing branch ...... CC gsm411_sms.o gsm411_sms.c: In Funktion »gsm340_rx_tpdu«: gsm411_sms.c:228:19: Warnung: Variable »sms_mms« gesetzt, aber nicht verwendet [-Wunused-but-set-variable] gsm411_sms.c: In Funktion »gsm411_rx_rp_ud«: gsm411_sms.c:375:2: Warnung: Format »%li« erwartet Argumenttyp »long int«, aber Argument 7 hat Typ »int« [-Wformat] gsm411_sms.c: In Funktion »gsm411_tx_sms_submit«: gsm411_sms.c:657:3: Warnung: Übergabe des Arguments 4 von »gsm411_smc_init« von inkompatiblem Zeigertyp [standardmäßig aktiviert] /home/kasio/osmocom-bb/src/shared/libosmocore/include/osmocom/gsm/gsm0411_smc.h:46:6: Anmerkung: »int (*)(struct gsm411_smc_inst *, int, struct msgb *, int)« erwartet, aber Argument hat Typ »int (*)(struct gsm411_smc_inst *, int, struct msgb *)« gsm411_sms.c:657:3: Fehler: zu viele Argumente für Funktion »gsm411_smc_init« /home/kasio/osmocom-bb/src/shared/libosmocore/include/osmocom/gsm/gsm0411_smc.h:46:6: Anmerkung: hier deklariert gsm411_sms.c:659:3: Fehler: zu viele Argumente für Funktion »gsm411_smr_init« /home/kasio/osmocom-bb/src/shared/libosmocore/include/osmocom/gsm/gsm0411_smr.h:27:6: Anmerkung: hier deklariert gsm411_sms.c: In Funktion »gsm411_rcv_sms«: gsm411_sms.c:911:4: Warnung: Übergabe des Arguments 4 von »gsm411_smc_init« von inkompatiblem Zeigertyp [standardmäßig aktiviert] /home/kasio/osmocom-bb/src/shared/libosmocore/include/osmocom/gsm/gsm0411_smc.h:46:6: Anmerkung: »int (*)(struct gsm411_smc_inst *, int, struct msgb *, int)« erwartet, aber Argument hat Typ »int (*)(struct gsm411_smc_inst *, int, struct msgb *)« gsm411_sms.c:911:4: Fehler: zu viele Argumente für Funktion »gsm411_smc_init« /home/kasio/osmocom-bb/src/shared/libosmocore/include/osmocom/gsm/gsm0411_smc.h:46:6: Anmerkung: hier deklariert gsm411_sms.c:913:4: Fehler: zu viele Argumente für Funktion »gsm411_smr_init« /home/kasio/osmocom-bb/src/shared/libosmocore/include/osmocom/gsm/gsm0411_smr.h:27:6: Anmerkung: hier deklariert make[3]: *** [gsm411_sms.o] Fehler 1 make[3]: Verlasse Verzeichnis '/home/kasio/osmocom-bb/src/host/layer23/src/mobile' make[2]: *** [all-recursive] Fehler 1 make[2]: Verlasse Verzeichnis '/home/kasio/osmocom-bb/src/host/layer23/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Verlasse Verzeichnis '/home/kasio/osmocom-bb/src/host/layer23' make: *** [host/layer23/layer23] Fehler 2 kasio@T60:~/osmocom-bb/src$
Thanks a lot for your help.
kasio
Hi,
I want to play with the mobile_app with TX and SIM-card support, so I checkout the sylvain/testing branch described in the wiki but the following error message occurs. The master branch work's very fine on my HW (C123).
In sylvain/testing, I know rely on the system wide installed libosmocore instead of a bundled version, which means you need to downliad/compile/install libosmocore (and a recent one) on your system for this to work.
Obviously the configure should have failed, so there is a bug there. It shouldn't even have tried to compile, need to check why that happened.
In the mean time you can find instructions to install libosmocore in https://bs11-abis.gnumonks.org/trac/wiki/Building_OpenBSC
Here the shell-output by makeing sylvain/testing branch
When pasting errors, you might want to switch the locale to english ... I can't read german. Also, this would help people looking in the archive for the same bug.
Cheers,
Sylvain
Hi Sylvain,
thanks for your first aid. My answers below.
On 02.01.2013, at 11:58, Sylvain Munaut 246tnt@gmail.com wrote:
Hi,
I want to play with the mobile_app with TX and SIM-card support, so I checkout the sylvain/testing branch described in the wiki but the following error message occurs. The master branch work's very fine on my HW (C123).
In sylvain/testing, I know rely on the system wide installed libosmocore instead of a bundled version, which means you need to downliad/compile/install libosmocore (and a recent one) on your system for this to work.
I have installed a recent libosmocore before I tried to compile your testing branch.
Obviously the configure should have failed, so there is a bug there. It shouldn't even have tried to compile, need to check why that happened.
In the mean time you can find instructions to install libosmocore in https://bs11-abis.gnumonks.org/trac/wiki/Building_OpenBSC
I try to read the instructions above, but I haven't access to the server because no user and password. What should I do to get it?
Here the shell-output by makeing sylvain/testing branch
When pasting errors, you might want to switch the locale to english ... I can't read german. Also, this would help people looking in the archive for the same bug.
Sorry, my mistake. I've changed the location yet.
Cheers,
Sylvain
Thanks and regards.
kasio
Hi,
I have installed a recent libosmocore before I tried to compile your testing branch.
Did you also do a fresh checkout or a "git clean -f -x -d" when switching branch ?
Due to changes in the build system, residual from an old compilation may prevent it from building.
In the mean time you can find instructions to install libosmocore in https://bs11-abis.gnumonks.org/trac/wiki/Building_OpenBSC
I try to read the instructions above, but I haven't access to the server because no user and password.
Remove the 'https' ... it's only for authenticated wiki users.
Cheers,
Sylvain
Hi Sylvain,
that's it. Thank you so much. I did a "git clan -f -x -d" and it works fine.
Best regards.
kasio
On 02.01.2013, at 20:18, Sylvain Munaut 246tnt@gmail.com wrote:
Hi,
I have installed a recent libosmocore before I tried to compile your testing branch.
Did you also do a fresh checkout or a "git clean -f -x -d" when switching branch ?
Due to changes in the build system, residual from an old compilation may prevent it from building.
In the mean time you can find instructions to install libosmocore in https://bs11-abis.gnumonks.org/trac/wiki/Building_OpenBSC
I try to read the instructions above, but I haven't access to the server because no user and password.
Remove the 'https' ... it's only for authenticated wiki users.
Cheers,
Sylvain
On Wed, 2 Jan 2013, Karsten Krummeich wrote:
Hi,
I want to play with the mobile_app with TX and SIM-card support, so I checkout the sylvain/testing branch described in the wiki but the following error message occurs. The master branch work's very fine on my HW (C123).
the changes for the systemwide libosmocore are now somehow got into the main branch. I had the same error today, using the main branch and had to revert these two patches:
http://bb.osmocom.org/trac/changeset/9c1d7b10b83eaaaa328540f177c5af0ec90e447... http://bb.osmocom.org/trac/changeset/439738df434507405e1a4722ef5fd61e087ed6d...
Is that intended to have to have libosmocore systemwide, or is it a mistake? Or did I miss something else?
Cheers
Tim
Hi,
the changes for the systemwide libosmocore are now somehow got into the main branch. I had the same error today, using the main branch and had to revert these two patches:
http://bb.osmocom.org/trac/changeset/9c1d7b10b83eaaaa328540f177c5af0ec90e447... http://bb.osmocom.org/trac/changeset/439738df434507405e1a4722ef5fd61e087ed6d...
Is that intended to have to have libosmocore systemwide, or is it a mistake? Or did I miss something else?
It's intended.
You will now need to download and install libosmocore separately.
Cheers,
Sylvain
baseband-devel@lists.osmocom.org