autoas / ssas-public Goto Github PK
View Code? Open in Web Editor NEWSimple AUTOSAR Basic Software
Home Page: https://gitee.com/autoas/as
Simple AUTOSAR Basic Software
Home Page: https://gitee.com/autoas/as
when I compile CanApp
error:
LINK build\nt\GCC\CanApp\CanApp.exe
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSimulator
collect2.exe: error: ld returned 1 exit status
scons: *** [build\nt\GCC\CanApp\CanApp.exe] Error 1
scons: building terminated because of errors.
I don't know how to solve this.
Hi,
I'm trying to build --app=IsoTpSend but i have problem with ControlCAN module. I can't get rid of this issue. Any idea what might be wrong?
C:\Proj\test\ssas-public-master(1)\ssas-public-master>scons --app=IsoTpSend
scons: Reading SConscript files ...
IndexError: list index out of range:
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master\SConstruct", line 8:
SConscript('SConscript',variant_dir=BUILD_DIR, duplicate=0)
File "C:\Anaconda3\lib\site-packages\SCons\Script\SConscript.py", line 660:
return method(*args, **kw)
File "C:\Anaconda3\lib\site-packages\SCons\Script\SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Anaconda3\lib\site-packages\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master\SConscript", line 5:
Building()
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1761:
__apps__[appName]().build()
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1613:
super().__init__()
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1219:
self.ensure_lib(name)
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1402:
self.__libs__[name] = __libraries__[name](
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1492:
super().__init__()
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1219:
self.ensure_lib(name)
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1397:
self.user.ensure_lib(name)
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1402:
self.__libs__[name] = __libraries__[name](
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1492:
super().__init__()
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1219:
self.ensure_lib(name)
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1397:
self.user.ensure_lib(name)
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1402:
self.__libs__[name] = __libraries__[name](
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master/tools\building.py", line 1474:
self.config()
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master\tools\libraries\Can\SConscript", line 65:
self.config_zlg()
File "C:\Proj\test\ssas-public-master(1)\ssas-public-master\tools\libraries\Can\SConscript", line 41:
ControlCAN = Glob('%s/ControlCAN*/ControlCANx64' % (pkg))[0].rstr()
Thank you in advance!
rt
王工, 测试发现
loader started:
enter extended session
request service 10:
TX: len=2 10 03
RX: len=3 7F 10 11
negative response 11
FAIL
loader failed
Hi @parai
I meet a problem when i tried to build the development env. It seems like the autosar module is missing.
Could you please help solve this problem?
BR
Allen
王工, 您好
感谢您的开源, 我在使用github上最新版本的程序, 编译AsPy库时我遇到了如下错误, 不知如何解决, 请帮忙解答一下, 万分感谢
E:\ssas-public>scons --lib=AsPy
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build\nt\GCC\AsPy
SHLINK build\nt\GCC\AsPy\AsPy.dll
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x23b): undefined reference to PduR_CanTpRxIndication' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x2db): undefined reference to
PduR_CanTpStartOfReception'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x301): undefined reference to PduR_CanTpCopyRxData' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x321): undefined reference to
PduR_CanTpRxIndication'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x33e): undefined reference to PduR_CanTpRxIndication' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x4e4): undefined reference to
CanIf_Transmit'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x5fc): undefined reference to PduR_CanTpRxIndication' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x7b7): undefined reference to
PduR_CanTpStartOfReception'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x7dd): undefined reference to PduR_CanTpCopyRxData' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x7fd): undefined reference to
PduR_CanTpRxIndication'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x9dc): undefined reference to PduR_CanTpCopyRxData' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xa2c): undefined reference to
PduR_CanTpRxIndication'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xaa6): undefined reference to PduR_CanTpRxIndication' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xaf9): undefined reference to
PduR_CanTpRxIndication'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xca7): undefined reference to PduR_CanTpTxConfirmation' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xcde): undefined reference to
PduR_CanTpTxConfirmation'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xe24): undefined reference to PduR_CanTpCopyTxData' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xea4): undefined reference to
CanIf_Transmit'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xed0): undefined reference to PduR_CanTpTxConfirmation' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0xf37): undefined reference to
PduR_CanTpTxConfirmation'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x1122): undefined reference to PduR_CanTpCopyTxData' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x117f): undefined reference to
CanIf_Transmit'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x120f): undefined reference to PduR_CanTpTxConfirmation' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x1349): undefined reference to
PduR_CanTpCopyTxData'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x13da): undefined reference to CanIf_Transmit' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x1462): undefined reference to
PduR_CanTpTxConfirmation'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x15ac): undefined reference to PduR_CanTpTxConfirmation' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x1614): undefined reference to
CanIf_Transmit'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x1650): undefined reference to PduR_CanTpTxConfirmation' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x1cdf): undefined reference to
PduR_CanTpRxIndication'
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\prebuilt\libCanTp.a(CanTp.o):CanTp.c:(.text+0x1d11): undefined reference to `PduR_CanTpTxConfirmation'
collect2.exe: error: ld returned 1 exit status
scons: *** [build\nt\GCC\AsPy\AsPy.dll] Error 1
scons: building terminated because of errors.
Hi @parai,
Would you be kind to share your approach or process in doing this development.
E.g. the process of understanding and designing from AUTOSAR Specification Documents to code.
I also want to try (at least) to implement the architecture, but I am always overwhelmed by the specification and most of the time don't know where to start. Also, would like to know the reason why the source files are not open?
Hoping to hear from you soon.
Regards,
Mark
For folks who understand english it will be nice to have a english guide to how to build.
Ok to contribute if you can help me with some details on how to do the build. Maybe we can do it with Actions itself so that its easier for folks who fork to do builds.
Hi Parai,
As you told me to create a Issue in GitHub, So that you could share the Eval version of the Library.
Regards,
Anil
你好 我拉取最新代码
依据doc中内容进行环境的搭建但是在编译源码仓库的时候提示没有CPPDEFINES的编译参数
由于这个SCons和工具的不熟悉 不知道如何修改
admin@DESKTOP-QG59N11 E:\workspace\autosar\ssas-public
$ scons --app=IsoTpSend
scons: Reading SConscript files ...
TypeError: can only concatenate list (not "collections.deque") to list:
File "E:\workspace\autosar\ssas-public\SConstruct", line 8:
SConscript('SConscript',variant_dir=BUILD_DIR, duplicate=0)
File "d:\programdata\anaconda3\lib\site-packages\SCons\Script\SConscript.py", line 662:
return method(*args, **kw)
File "d:\programdata\anaconda3\lib\site-packages\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "d:\programdata\anaconda3\lib\site-packages\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "E:\workspace\autosar\ssas-public\SConscript", line 5:
Building()
File "E:\workspace\autosar\ssas-public/tools\building.py", line 1877:
appsappName.build()
File "E:\workspace\autosar\ssas-public/tools\building.py", line 1712:
CPPDEFINES = getattr(self, 'CPPDEFINES', []) + \
I added those files,but Still has this problems。
ld.exe: cannot find -lSimulator
Originally posted by @chenbokaix250 in #3 (comment)
C:\Users\24553\Desktop\ssas-public-master>scons -v
SCons by Steven Knight et al.:
SCons: v4.3.0.559790274f66fa55251f5754de34820a29c7327a, Tue, 16 Nov 2021 19:09:21 +0000, by bdeegan on octodog
SCons path: ['C:\\Anaconda3\\Lib\\site-packages\\SCons']
Copyright (c) 2001 - 2021 The SCons Foundation
C:\Users\24553\Desktop\ssas-public-master>scons --app=IsoTpSend
scons: Reading SConscript files ...
AttributeError: 'str' object has no attribute 'rfile':
File "C:\Users\24553\Desktop\ssas-public-master\SConstruct", line 8:
SConscript('SConscript',variant_dir=BUILD_DIR, duplicate=0)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 660:
return method(*args, **kw)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line `597:`
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\24553\Desktop\ssas-public-master\SConscript", line 3:
SConscript(sc)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 660:
return method(*args, **kw)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\24553\Desktop\ssas-public-master\app\SConscript", line 4:
SConscript(sc)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 660:
return method(*args, **kw)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Anaconda3\Lib\site-packages\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\24553\Desktop\ssas-public-master\app\app\SConscript", line 6:
CWD = GetCurrentDir()
File "C:\Users\24553\Desktop\ssas-public-master\tools\building.py", line 1355:
fn = conscript.rfile()
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "D:\ssas-public/tools\building.py", line 73, in
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build\nt\GCC\CanApp
LINK build\nt\GCC\CanApp\CanApp.exe
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Dem/libDem.a(Dem.o):Dem.c:(.text+0x762): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Dem/libDem.a(Dem.o):Dem.c:(.text+0xb10): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0x76d): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0x797): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0x843): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0x86d): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0x8fd): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0x936): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xa50): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xa7a): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xb26): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xb50): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xc1e): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xc48): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xcd1): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Fls/libFls.a(Fls.o):Fls.c:(.text+0xd24): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xa52): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xaa7): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xab2): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xaf5): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xb23): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xb78): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xb83): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xbc6): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xc25): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xc89): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xd1a): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xd7e): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xdd3): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xe08): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xeb9): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xeee): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xfaa): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xfdf): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0xffa): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0x106e): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0x1089): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\NvM/libNvM.a(NvM.o):NvM.c:(.text+0x10fd): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0x80f): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0x839): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0x8ed): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0x917): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0x9a5): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0x9de): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xb02): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xb2c): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xbe0): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xc0a): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xcde): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xd08): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xd8f): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Eep/libEep.a(Eep.o):Eep.c:(.text+0xde8): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x5b9): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x5f5): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x688): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x6c4): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x767): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x79a): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x7f7): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x82a): undefined reference to
Std_ExitCritical'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x887): undefined reference to Std_EnterCritical' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\Ea/libEa.a(Ea.o):Ea.c:(.text+0x8ba): undefined reference to
Std_ExitCritical'
collect2.exe: error: ld returned 1 exit status
scons: *** [build\nt\GCC\CanApp\CanApp.exe] Error 1
scons: building terminated because of errors.
I would like ask how to solve this problem, thank you.
no module named generator, can't find generator moduler by using pip install
After installed needed libraries from the page "https://autoas.github.io/ssas-public/autosar/2021/12/03/setup.html", I tried to run following command scons --app=CanSimulator
. It showed me like this:
The problem is, that i can not install "Sys/queue.h" or bsd-compat-headers on windows, because this batch is for Linux-PC.
Can anyone help me with it?
Thanks :D
Hi, I increase the default timeout value, but the timeout problem still happen.
I also change error code to -29, but error code is still -99
And I have a security level problem, may be in the security level 1 will not pass cause failure, where can I go to set security level?
And when I build CANBL occurs this error, how can I solve this problem?
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\main.o: in function MainTask_10ms': C:\ssastest6\ssas-public-master/app/bootloader/main.c:44: undefined reference to
Dcm_MainFunction'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\main.o: in function Init': C:\ssastest6\ssas-public-master/app/bootloader/main.c:61: undefined reference to
Dcm_Init'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\main.o: in function main': C:\ssastest6\ssas-public-master/app/bootloader/main.c:139: undefined reference to
Dcm_MainFunction_Request'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o: in function Dcm_Transmit': C:\ssastest6\ssas-public-master/app/bootloader/config/Dcm_Cfg.c:304: undefined reference to
Dcm_GetContext'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x108): undefined reference to Dcm_DspSessionControl' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x120): undefined reference to
Dcm_DspEcuReset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x138): undefined reference to Dcm_DspSecurityAccess' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x150): undefined reference to
Dcm_DspRoutineControl'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x168): undefined reference to Dcm_DspRequestDownload' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x180): undefined reference to
Dcm_DspTransferData'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x198): undefined reference to Dcm_DspRequestTransferExit' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\Dcm_Cfg.o:Dcm_Cfg.c:(.rdata+0x1b0): undefined reference to
Dcm_DspTesterPresent'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\GEN\PduR_Cfg.o:C:\ssastest6\ssas-public-master/app/bootloader/config/GEN/PduR_Cfg.c:17: undefine
d reference to Dcm_StartOfReception' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\GEN\PduR_Cfg.o:PduR_Cfg.c:(.rdata+0x8): undefined reference to
Dcm_CopyRxData'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\GEN\PduR_Cfg.o:PduR_Cfg.c:(.rdata+0x10): undefined reference to Dcm_TpRxIndication' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\GEN\PduR_Cfg.o:PduR_Cfg.c:(.rdata+0x20): undefined reference to
Dcm_CopyTxData'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\CanBL\app\bootloader\config\GEN\PduR_Cfg.o:PduR_Cfg.c:(.rdata+0x28): undefined reference to Dcm_TpTxConfirmation' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\BL\libBL.a(bl_core.o):bl_core.c:(.text+0xb77): undefined reference to
Dcm_SetSesCtrlType'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\nt\GCC\BL\libBL.a(bl_sl.o):bl_sl.c:(.text+0x9d): undefined reference to `Dcm_GetSecurityLevel'
collect2.exe: error: ld returned 1 exit status
scons: *** [build\nt\GCC\CanBL\CanBL.exe] Error 1
scons: building terminated because of errors.
thank you.
$ D:\GitHub\ssas-public $ scons --app=CanApp
scons: Reading SConscript files ...
ModuleNotFoundError: No module named 'generator.Trace':
File "D:\GitHub\ssas-public\SConstruct", line 8:
SConscript('SConscript',variant_dir=BUILD_DIR, duplicate=0)
File "C:\Users\zzc\AppData\Local\Programs\Python\Python311\Lib\site-packages\SCons\Script\SConscript.py", line 662:
return method(*args, **kw)
你好啊。请问这个问题怎么解决呢,是缺少那个依赖组件吗,谢谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.