*Hi, Osmocom-SGSN*
I have downloaded latest master branch sources for TTCN3 tests.
I followed instructions for compilations and dependencies. In file : *regen_makefile.sh * If line with ../regen-makefile.sh SGSN_Tests.ttcn $FILES is replaced with ../regen-makefile.sh $FILES then this warning is not present File `SGSN_Tests.ttcn' was given more than once for the Makefile.
Also, after command
*make compile *
*(same with *
*make sgsn *
*from upper dir.)* I got from output:
.... GSM_RR_Types.ttcn:404.2-408.2: In type definition `SecondPartAssign': GSM_RR_Types.ttcn:409.18-20: error: in variant attribute, at or before token `CSN': syntax error, unexpected XIdentifier, expecting $end GSM_RR_Types.ttcn:510.2-512.2: In type definition `IaRestOctLL': GSM_RR_Types.ttcn:513.42-44: error: in variant attribute, at or before token `CSN': syntax error, unexpected XIdentifier, expecting $end GSM_RR_Types.ttcn:588.2-594.2: In type definition `IaRestOctets': GSM_RR_Types.ttcn:595.23-25: error: in variant attribute, at or before token `CSN': syntax error, unexpected XIdentifier, expecting $end ........ Notify: Errors found in the input modules. Code will not be generated. make: *** [Makefile:206: compile] Error 1
Last time in April, I played with TTCN3 for SGSN, everything was good.
Can you help me with this ?
Git checkout to some random commit from April, have solved problem for me. But in current master branch definitely the is a problem.
Regards.
On Thu, May 21, 2020 at 3:31 PM Mirko Kovacevic northmirko@gmail.com wrote:
*Hi, Osmocom-SGSN*
I have downloaded latest master branch sources for TTCN3 tests.
I followed instructions for compilations and dependencies. In file : *regen_makefile.sh * If line with ../regen-makefile.sh SGSN_Tests.ttcn $FILES is replaced with ../regen-makefile.sh $FILES then this warning is not present File `SGSN_Tests.ttcn' was given more than once for the Makefile.
Also, after command
*make compile *
*(same with *
*make sgsn *
*from upper dir.)* I got from output:
.... GSM_RR_Types.ttcn:404.2-408.2: In type definition `SecondPartAssign': GSM_RR_Types.ttcn:409.18-20: error: in variant attribute, at or before token `CSN': syntax error, unexpected XIdentifier, expecting $end GSM_RR_Types.ttcn:510.2-512.2: In type definition `IaRestOctLL': GSM_RR_Types.ttcn:513.42-44: error: in variant attribute, at or before token `CSN': syntax error, unexpected XIdentifier, expecting $end GSM_RR_Types.ttcn:588.2-594.2: In type definition `IaRestOctets': GSM_RR_Types.ttcn:595.23-25: error: in variant attribute, at or before token `CSN': syntax error, unexpected XIdentifier, expecting $end ........ Notify: Errors found in the input modules. Code will not be generated. make: *** [Makefile:206: compile] Error 1
Last time in April, I played with TTCN3 for SGSN, everything was good.
Can you help me with this ?
Hi,
to me it looks like you are using a version of TITAN too old. Support for CSN L/H bits was addded recently, and that's why we switched also recently to TITAN version 6.6.1 to be able to use it.
Regards,
You are right. Old version of titan.eclipse. Wasn't aware of it.
Problem solved, Thank you.
On Thu, May 21, 2020 at 3:51 PM Pau Espin Pedrol pespin@sysmocom.de wrote:
Hi,
to me it looks like you are using a version of TITAN too old. Support for CSN L/H bits was addded recently, and that's why we switched also recently to TITAN version 6.6.1 to be able to use it.
Regards,
--
- Pau Espin Pedrol pespin@sysmocom.de http://www.sysmocom.de/
=======================================================================
- sysmocom - systems for mobile communications GmbH
- Alt-Moabit 93
- 10559 Berlin, Germany
- Sitz / Registered office: Berlin, HRB 134158 B
- Geschaeftsfuehrer / Managing Director: Harald Welte
Hi,
Forgot to mention your comments regarding build:
* I think we add SGSN_Tests.ttcn first explicitly because it is relevant for some reason I forgot. Maybe to generate correct binary file name?
* If you want to build the SGSN, simply run "make sgsn" from the topdir of the git repo and you should be done.
* Have a look at docker-playground.git in git.osmocom.org for already prepared containerized setup to run it (ttcn3-sgsn-tests/jenkins.sh).
osmocom-net-gprs@lists.osmocom.org