Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Compiler Issues(Moving from Ubuntu 16.04 to 18.04)
Compiler Issues [message #1798286] Wed, 14 November 2018 23:05 Go to next message
Mohan Raj Janardhan is currently offline Mohan Raj JanardhanFriend
Messages: 32
Registered: October 2018
Member
Hi Elemer,

I moved my environment from running a VM with ubuntu 16.04 to a bare-metal server with Ubuntu 18.04. I migrated my workspace to the server environment, but had the eclipse installer installer of 18.04 freshly downloaded. After doing this, i tried compiling the same executable in the old envrionment in the new.

1. I had problem opening the eclipse editor from /opt/ using sudo. When i moved to /home/my_user/, i was able to open up the eclipse. For the time being we can leave this issue as i am able to open the eclipse editor.
2. The problem was, i am able to compile the same executable which compiling successfuly before in 16.04. I came across an issue like below:

sh -c make clean
rm -f l2 DHCP_Ethernet_Mapping.o DHCP_Options.o DHCP_Types.o DHCPv6_Types.o General_Types.o ICMP2ETH.o ICMP_Types.o ICMPv6_Types.o IP_Types.o LANL2asp_PortType.o LANL2asp_Types.o StringLib.o TCCConversion_Functions.o TCCInterface_Functions.o UDP_Types.o UDPasp_PortType.o UDPasp_Types.o UsefulTtcn3Types.o XSD.o externalFunctions.o general_typedefs.o http_www_w3_org_XML_1998_namespace.o tc_DHCP.o MobileDomainDefinitions.o DHCP_EncDec.o DHCP_Ethernet_Mapping.o DHCP_Options.o DHCP_Types.o DHCPv6_Types.o General_Types.o ICMP2ETH.o ICMP_EncDec.o ICMP_Types.o ICMPv6_EncDec.o ICMPv6_Types.o IP_EncDec.o IP_Types.o LANL2asp_PT.o LANL2asp_PortType.o LANL2asp_Types.o MobileDomainDefinitions.o StringLib.o TCCConversion.o TCCConversion_Functions.o TCCInterface.o TCCInterface_Functions.o UDP_EncDec.o UDP_Types.o UDPasp_PT.o UDPasp_PortType.o UDPasp_Types.o UsefulTtcn3Types.o XSD.o externalFunctions.o externalFunctionsC.o general_typedefs.o http_www_w3_org_XML_1998_namespace.o tc_002_ICMP_echo.o tc_002_ICMP_echo_multiple_interface_dual_port.o tc_004_start_iperf3_traffic.o tc_DHCP.o l2.a DHCP_Ethernet_Mapping.hh DHCP_Options.hh DHCP_Types.hh DHCPv6_Types.hh General_Types.hh ICMP2ETH.hh ICMP_Types.hh ICMPv6_Types.hh IP_Types.hh LANL2asp_PortType.hh LANL2asp_Types.hh StringLib.hh TCCConversion_Functions.hh TCCInterface_Functions.hh UDP_Types.hh UDPasp_PortType.hh UDPasp_Types.hh UsefulTtcn3Types.hh XSD.hh externalFunctions.hh general_typedefs.hh http_www_w3_org_XML_1998_namespace.hh tc_DHCP.hh MobileDomainDefinitions.hh DHCP_EncDec.d DHCP_Ethernet_Mapping.d DHCP_Options.d DHCP_Types.d DHCPv6_Types.d General_Types.d ICMP2ETH.d ICMP_EncDec.d ICMP_Types.d ICMPv6_EncDec.d ICMPv6_Types.d IP_EncDec.d IP_Types.d LANL2asp_PT.d LANL2asp_PortType.d LANL2asp_Types.d MobileDomainDefinitions.d StringLib.d TCCConversion.d TCCConversion_Functions.d TCCInterface.d TCCInterface_Functions.d UDP_EncDec.d UDP_Types.d UDPasp_PT.d UDPasp_PortType.d UDPasp_Types.d UsefulTtcn3Types.d XSD.d externalFunctions.d externalFunctionsC.d general_typedefs.d http_www_w3_org_XML_1998_namespace.d tc_002_ICMP_echo.d tc_002_ICMP_echo_multiple_interface_dual_port.d tc_004_start_iperf3_traffic.d tc_DHCP.d DHCP_Ethernet_Mapping.d DHCP_Options.d DHCP_Types.d DHCPv6_Types.d General_Types.d ICMP2ETH.d ICMP_Types.d ICMPv6_Types.d IP_Types.d LANL2asp_PortType.d LANL2asp_Types.d StringLib.d TCCConversion_Functions.d TCCInterface_Functions.d UDP_Types.d UDPasp_PortType.d UDPasp_Types.d UsefulTtcn3Types.d XSD.d externalFunctions.d general_typedefs.d http_www_w3_org_XML_1998_namespace.d tc_DHCP.d MobileDomainDefinitions.d \
DHCP_Ethernet_Mapping.cc DHCP_Options.cc DHCP_Types.cc DHCPv6_Types.cc General_Types.cc ICMP2ETH.cc ICMP_Types.cc ICMPv6_Types.cc IP_Types.cc LANL2asp_PortType.cc LANL2asp_Types.cc StringLib.cc TCCConversion_Functions.cc TCCInterface_Functions.cc UDP_Types.cc UDPasp_PortType.cc UDPasp_Types.cc UsefulTtcn3Types.cc XSD.cc externalFunctions.cc general_typedefs.cc http_www_w3_org_XML_1998_namespace.cc tc_DHCP.cc MobileDomainDefinitions.cc compile \
browserdata.dat tags *.log DHCP_EncDec.d DHCP_Ethernet_Mapping.d DHCP_Options.d DHCP_Types.d DHCPv6_Types.d General_Types.d ICMP2ETH.d ICMP_EncDec.d ICMP_Types.d ICMPv6_EncDec.d ICMPv6_Types.d IP_EncDec.d IP_Types.d LANL2asp_PT.d LANL2asp_PortType.d LANL2asp_Types.d MobileDomainDefinitions.d StringLib.d TCCConversion.d TCCConversion_Functions.d TCCInterface.d TCCInterface_Functions.d UDP_EncDec.d UDP_Types.d UDPasp_PT.d UDPasp_PortType.d UDPasp_Types.d UsefulTtcn3Types.d XSD.d externalFunctions.d externalFunctionsC.d general_typedefs.d http_www_w3_org_XML_1998_namespace.d tc_002_ICMP_echo.d tc_002_ICMP_echo_multiple_interface_dual_port.d tc_004_start_iperf3_traffic.d tc_DHCP.d DHCP_Ethernet_Mapping.d DHCP_Options.d DHCP_Types.d DHCPv6_Types.d General_Types.d ICMP2ETH.d ICMP_Types.d ICMPv6_Types.d IP_Types.d LANL2asp_PortType.d LANL2asp_Types.d StringLib.d TCCConversion_Functions.d TCCInterface_Functions.d UDP_Types.d UDPasp_PortType.d UDPasp_Types.d UsefulTtcn3Types.d XSD.d externalFunctions.d general_typedefs.d http_www_w3_org_XML_1998_namespace.d tc_DHCP.d MobileDomainDefinitions.d
Operation finished successfully.
**************************************************************
2018-11-14_17:28:27: starting to build L2
**************************************************************
sh -c make dep
Creating dependency file for ../build/MobileDomainDefinitions.cc
In file included from ../build/MobileDomainDefinitions.cc:11:0:
../build/MobileDomainDefinitions.hh:22:2: error: #error Version mismatch detected. Please check the version of the ASN.1 compiler and the base library. Run make clean and rebuild the project if the version of the compiler changed recently.
#error Version mismatch detected.\
^~~~~
Creating dependency file for ../build/tc_DHCP.cc
In file included from ../build/IP_Types.hh:20:0,
from ../build/DHCP_Ethernet_Mapping.hh:20,
from ../build/tc_DHCP.hh:20,
from ../build/tc_DHCP.cc:11:
../build/General_Types.hh:22:2: error: #error Version mismatch detected. Please check the version of the TTCN-3 compiler and the base library. Run make clean and rebuild the project if the version of the compiler changed recently.
#error Version mismatch detected.\
^~~~~
In file included from ../build/DHCP_Ethernet_Mapping.hh:20:0,
from ../build/tc_DHCP.hh:20,
from ../build/tc_DHCP.cc:11:
../build/IP_Types.hh:23:2: error: #error Version mismatch detected. Please check the version of the TTCN-3 compiler and the base library. Run make clean and rebuild the project if the version of the compiler changed recently.

3. I saw in the forum similar issue being discussed and followed to do a "make clean", "make distclean" etc.

4. I have the output below of certain commands, which you suggested in other discussions

vdc246@vdc246-R620-HMF87Y1:~/eclipse-workspace/ttcn/L2/out$ printenv |grep TTCN
LD_LIBRARY_PATH=:/home/vdc246/TTCN3/lib
TTCN3_BROWSER=firefox
TTCN3_LICENSE_FILE=
TTCN3_DIR=/home/vdc246/TTCN3
MANPATH=:/home/vdc246/TTCN3/man
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/vdc246/TTCN3/bin:/snap/bin
vdc246@vdc246-R620-HMF87Y1:~/eclipse-workspace/ttcn/L2/out$ printenv |grep PATH
LD_LIBRARY_PATH=:/home/vdc246/TTCN3/lib
MANPATH=:/home/vdc246/TTCN3/man
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/vdc246/TTCN3/bin:/snap/bin
vdc246@vdc246-R620-HMF87Y1:~/eclipse-workspace/ttcn/L2/out$ compiler -v
TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor
Product number: CRL 113 200/6 R4A
Build date: Jun 12 2018 08:36:32
Compiled with: GCC 7.3.0
Using OpenSSL 1.1.0g 2 Nov 2017

Copyright (c) 2000-2018 Ericsson Telecom AB
vdc246@vdc246-R620-HMF87Y1:~/eclipse-workspace/ttcn/L2$ make diag
/home/vdc246/TTCN3/bin/compiler -v 2>&1
TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor
Product number: CRL 113 200/6 R4A
Build date: Jun 12 2018 08:36:32
Compiled with: GCC 7.3.0
Using OpenSSL 1.1.0g 2 Nov 2017

Copyright (c) 2000-2018 Ericsson Telecom AB

/home/vdc246/TTCN3/bin/mctr_cli -v 2>&1
Main Controller (CLI) for the TTCN-3 Test Executor
Product number: CRL 113 200/6 R4A
Build date: Jun 12 2018 08:37:45
Compiled with: GCC 7.3.0
Using OpenSSL 1.1.0g 2 Nov 2017

Copyright (c) 2000-2018 Ericsson Telecom AB

g++ -v 2>&1
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
ar -V 2>&1
GNU ar (GNU Binutils for Ubuntu) 2.30
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
TTCN3_DIR=/home/vdc246/TTCN3
OPENSSL_DIR=
XMLDIR=/home/vdc246/TTCN3
PLATFORM=LINUX


But so far not successful. Let me know if you have any other suggestions.
Re: Compiler Issues [message #1798289 is a reply to message #1798286] Wed, 14 November 2018 23:40 Go to previous messageGo to next message
Mohan Raj Janardhan is currently offline Mohan Raj JanardhanFriend
Messages: 32
Registered: October 2018
Member
Hi Elemer,

Probably the make clean did not work porperly. I had to go to each module directory and remove all the old *.cc and *.hh files. This cleared most of the problems. Finally stuck with one issue:

sh -c make clean
rm -f l2 DHCP_Ethernet_Mapping.o DHCP_Options.o DHCP_Types.o DHCPv6_Types.o General_Types.o ICMP2ETH.o ICMP_Types.o ICMPv6_Types.o IP_Types.o LANL2asp_PortType.o LANL2asp_Types.o StringLib.o TCCConversion_Functions.o TCCInterface_Functions.o UDP_Types.o UDPasp_PortType.o UDPasp_Types.o UsefulTtcn3Types.o XSD.o externalFunctions.o general_typedefs.o http_www_w3_org_XML_1998_namespace.o tc_DHCP.o MobileDomainDefinitions.o l2.a DHCP_Ethernet_Mapping.hh DHCP_Options.hh DHCP_Types.hh DHCPv6_Types.hh General_Types.hh ICMP2ETH.hh ICMP_Types.hh ICMPv6_Types.hh IP_Types.hh LANL2asp_PortType.hh LANL2asp_Types.hh StringLib.hh TCCConversion_Functions.hh TCCInterface_Functions.hh UDP_Types.hh UDPasp_PortType.hh UDPasp_Types.hh UsefulTtcn3Types.hh XSD.hh externalFunctions.hh general_typedefs.hh http_www_w3_org_XML_1998_namespace.hh tc_DHCP.hh MobileDomainDefinitions.hh DHCP_Ethernet_Mapping.d DHCP_Options.d DHCP_Types.d DHCPv6_Types.d General_Types.d ICMP2ETH.d ICMP_Types.d ICMPv6_Types.d IP_Types.d LANL2asp_PortType.d LANL2asp_Types.d StringLib.d TCCConversion_Functions.d TCCInterface_Functions.d UDP_Types.d UDPasp_PortType.d UDPasp_Types.d UsefulTtcn3Types.d XSD.d externalFunctions.d general_typedefs.d http_www_w3_org_XML_1998_namespace.d tc_DHCP.d MobileDomainDefinitions.d \
DHCP_Ethernet_Mapping.cc DHCP_Options.cc DHCP_Types.cc DHCPv6_Types.cc General_Types.cc ICMP2ETH.cc ICMP_Types.cc ICMPv6_Types.cc IP_Types.cc LANL2asp_PortType.cc LANL2asp_Types.cc StringLib.cc TCCConversion_Functions.cc TCCInterface_Functions.cc UDP_Types.cc UDPasp_PortType.cc UDPasp_Types.cc UsefulTtcn3Types.cc XSD.cc externalFunctions.cc general_typedefs.cc http_www_w3_org_XML_1998_namespace.cc tc_DHCP.cc MobileDomainDefinitions.cc compile \
browserdata.dat tags *.log DHCP_Ethernet_Mapping.d DHCP_Options.d DHCP_Types.d DHCPv6_Types.d General_Types.d ICMP2ETH.d ICMP_Types.d ICMPv6_Types.d IP_Types.d LANL2asp_PortType.d LANL2asp_Types.d StringLib.d TCCConversion_Functions.d TCCInterface_Functions.d UDP_Types.d UDPasp_PortType.d UDPasp_Types.d UsefulTtcn3Types.d XSD.d externalFunctions.d general_typedefs.d http_www_w3_org_XML_1998_namespace.d tc_DHCP.d MobileDomainDefinitions.d
Operation finished successfully.
**************************************************************
2018-11-14_18:32:15: starting to build L2
**************************************************************
sh -c make dep
/home/vdc246/TTCN3//bin/compiler ../TestObjects/Features/L2Net/dhcp/DHCP_Ethernet_Mapping.ttcn ../src/ProtocolModules/titan.ProtocolModules.DHCP/src/DHCP_Options.ttcn ../src/ProtocolModules/titan.ProtocolModules.DHCP/src/DHCP_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.DHCPv6/src/DHCPv6_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn ../TestObjects/Features/L2Net/ICMP2ETH.ttcn ../src/ProtocolModules/titan.ProtocolModules.ICMP/src/ICMP_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.ICMPv6/src/ICMPv6_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.IP/src/IP_Types.ttcn ../src/TestPorts/titan.TestPorts.LANL2asp/src/LANL2asp_PortType.ttcn ../src/TestPorts/titan.TestPorts.LANL2asp/src/LANL2asp_Types.ttcn ../src/Libraries/StringLib.ttcn ../src/Libraries/TCCConversion_Functions.ttcn ../src/Libraries/TCCInterface_Functions.ttcn ../src/ProtocolModules/titan.ProtocolModules.UDP/src/UDP_Types.ttcn ../src/TestPorts/titan.TestPorts.UDPasp/src/UDPasp_PortType.ttcn ../src/TestPorts/titan.TestPorts.UDPasp/src/UDPasp_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/UsefulTtcn3Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/XSD.ttcn ../src/Libraries/externalFunctions.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/general_typedefs.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/http_www_w3_org_XML_1998_namespace.ttcn ../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/MobileDomainDefinitions.asn - ../TestObjects/Features/L2Net/dhcp/DHCP_Ethernet_Mapping.ttcn ../src/ProtocolModules/titan.ProtocolModules.DHCP/src/DHCP_Options.ttcn ../src/ProtocolModules/titan.ProtocolModules.DHCP/src/DHCP_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.DHCPv6/src/DHCPv6_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn ../TestObjects/Features/L2Net/ICMP2ETH.ttcn ../src/ProtocolModules/titan.ProtocolModules.ICMP/src/ICMP_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.ICMPv6/src/ICMPv6_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.IP/src/IP_Types.ttcn ../src/TestPorts/titan.TestPorts.LANL2asp/src/LANL2asp_PortType.ttcn ../src/TestPorts/titan.TestPorts.LANL2asp/src/LANL2asp_Types.ttcn ../src/Libraries/StringLib.ttcn ../src/Libraries/TCCConversion_Functions.ttcn ../src/Libraries/TCCInterface_Functions.ttcn ../src/ProtocolModules/titan.ProtocolModules.UDP/src/UDP_Types.ttcn ../src/TestPorts/titan.TestPorts.UDPasp/src/UDPasp_PortType.ttcn ../src/TestPorts/titan.TestPorts.UDPasp/src/UDPasp_Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/UsefulTtcn3Types.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/XSD.ttcn ../src/Libraries/externalFunctions.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/general_typedefs.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/http_www_w3_org_XML_1998_namespace.ttcn ../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn ../src/ProtocolModules/titan.ProtocolModules.COMMON/src/MobileDomainDefinitions.asn
Notify: Parsing TTCN-3 module `../TestObjects/Features/L2Net/dhcp/DHCP_Ethernet_Mapping.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.DHCP/src/DHCP_Options.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.DHCP/src/DHCP_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.DHCPv6/src/DHCPv6_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn'...
Notify: Parsing TTCN-3 module `../TestObjects/Features/L2Net/ICMP2ETH.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.ICMP/src/ICMP_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.ICMPv6/src/ICMPv6_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.IP/src/IP_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/TestPorts/titan.TestPorts.LANL2asp/src/LANL2asp_PortType.ttcn'...
Notify: Parsing TTCN-3 module `../src/TestPorts/titan.TestPorts.LANL2asp/src/LANL2asp_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/Libraries/StringLib.ttcn'...
Notify: Parsing TTCN-3 module `../src/Libraries/TCCConversion_Functions.ttcn'...
Notify: Parsing TTCN-3 module `../src/Libraries/TCCInterface_Functions.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.UDP/src/UDP_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/TestPorts/titan.TestPorts.UDPasp/src/UDPasp_PortType.ttcn'...
Notify: Parsing TTCN-3 module `../src/TestPorts/titan.TestPorts.UDPasp/src/UDPasp_Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.COMMON/src/UsefulTtcn3Types.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.COMMON/src/XSD.ttcn'...
Notify: Parsing TTCN-3 module `../src/Libraries/externalFunctions.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.COMMON/src/general_typedefs.ttcn'...
Notify: Parsing TTCN-3 module `../src/ProtocolModules/titan.ProtocolModules.COMMON/src/http_www_w3_org_XML_1998_namespace.ttcn'...
Notify: Parsing TTCN-3 module `../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn'...
Notify: Parsing ASN.1 module `../src/ProtocolModules/titan.ProtocolModules.COMMON/src/MobileDomainDefinitions.asn'...
Notify: Checking modules...
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn: In TTCN-3 module `General_Types':
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:245.3-41: In type definition `Verdicttypes':
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:245.50-59: error: No encoding rules defined for type `@General_Types.Verdicttypes'
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:247.3-40: In type definition `VerdicttypeSet':
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:247.49-58: error: No encoding rules defined for type `@General_Types.VerdicttypeSet'
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:375.3-52: In type definition `ListOfDummy_comptype':
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:375.61-70: error: No encoding rules defined for type `@General_Types.ListOfDummy_comptype'
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:376.3-46: In type definition `ListOfDummy_CT':
../src/ProtocolModules/titan.ProtocolModules.COMMON/src/General_Types.ttcn:376.55-64: error: No encoding rules defined for type `@General_Types.ListOfDummy_CT'
../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn: In TTCN-3 module `tc_DHCP':
../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn:351.3-380.3: In function definition `f_DHCP_req':
../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn:379.5-27: In deactivate statement:
../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn:379.5-27: warning: Calling `deactivate()' in a function or altstep. This might delete the `in' parameters of a currently running altstep.
../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn:382.3-398.3: In function definition `f_DHCP_req_loop':
../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn:397.5-27: In deactivate statement:
../TestObjects/Features/L2Net/dhcp/tc_DHCP.ttcn:397.5-27: warning: Calling `deactivate()' in a function or altstep. This might delete the `in' parameters of a currently running altstep.
Notify: Errors found in the input modules. Code will not be generated.
make: *** No rule to make target 'compile', needed by 'DHCP_Ethernet_Mapping.cc'. Stop.
Operation failed with return value: 2


I am stuck here now! Need some suggestions.
Re: Compiler Issues [message #1798313 is a reply to message #1798289] Thu, 15 November 2018 08:43 Go to previous message
Elemer Lelik is currently online Elemer LelikFriend
Messages: 1063
Registered: January 2015
Senior Member
Hi Mohan,

I suggest you first get familiar with the command line and only after that start to use the Eclipse plug-ins.
From what you have sent it's not possible to give you a definite answer.

A project should seamlessly migrate from 16.04 to 18.04 assuming all others are unchanged ( namely Titan , gcc etc. version).


BR

Elemer



Previous Topic:How to execute test cases with Linux command line
Next Topic:Example of ping ( ICMP )over a layer 2 test port with Titan
Goto Forum:
  


Current Time: Fri Jul 10 14:02:58 GMT 2020

Powered by FUDForum. Page generated in 0.02307 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top