Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX7.0 iMX6 BSP fails to compile: (3 Items)
   
QNX7.0 iMX6 BSP fails to compile  
Hi, I've recently upgraded the QNX7 Momentics via QNX Software centre and the
imx6 bsp has failed to compile the devc-sermx1 driver:

/builds/workspace/BC700_6762_sdp704/build_dir/lib/io-char/ttc.c:481: undefined reference to `smmu_init'

What is changed?
Is the imx6 bps no more alligned to latest OS upgrade?
Any help will be appreciate
Thank
M. Sangalli


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
D:/qnx700/host/win64/x86_64/usr/bin/rm -f  C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/
sermx1/arm/le.v7/devc-sermx1
D:/qnx700/host/win64/x86_64/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory      -o C:/Users/MSangalli/ide-7.0-workspace
/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.v7/devc-sermx1    externs.o    init.o    intr.o    main.o    
options.o    tto.o  -L. -LC:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/
usr/lib/xilinx -LC:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/
lib -LC:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/usr/lib -LD
:/qnx700/target/qnx7/armle-v7/lib -LD:/qnx700/target/qnx7/armle-v7/usr/lib -Wl,--rpath-link,. -Wl,--rpath-link,C:/Users/
MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/usr/lib/xilinx -Wl,--rpath-link,C:/
Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/lib -Wl,--rpath-link
,C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/usr/lib -Wl,--
rpath-link,D:/qnx700/target/qnx7/armle-v7/lib -Wl,--rpath-link,D:/qnx700/target/qnx7/armle-v7/usr/lib      -lio-char    
-ldrvr   -EL               
D:/qnx700/target/qnx7/armle-v7/usr/lib\libio-char.a(ttc.o): In function `ttc':
/builds/workspace/BC700_6762_sdp704/build_dir/lib/io-char/ttc.c:481: undefined reference to `smmu_init'
D:/qnx700/target/qnx7/usr/include/mk/qtargets.mk:43: recipe for target 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-
mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.v7/devc-sermx1' failed
cc: D:/qnx700/host/win64/x86_64/usr/bin/arm-unknown-nto-qnx7.0.0eabi-ld caught signal 1
make[6]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.
v7'
make[6]: *** [C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.v7/devc-sermx1]
 Error 1
recurse.mk:96: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm'
recurse.mk:96: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1'
make[3]: *** [all] Error 2
recurse.mk:96: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[3]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc'
make[1]: *** [all] Error 2
recurse.mk:96: recipe for target 'all' failed
make: *** [install] Error 2
make[2]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware'
recurse.mk:96: recipe for target 'all' failed
make[1]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src'
Makefile:33: recipe for target 'install' failed
RE: QNX7.0 iMX6 BSP fails to compile  
You need to add -lsmmu to the link command.

--Elad
________________________________________
From: mario sangalli [community-noreply@qnx.com]
Sent: November-14-19 12:28 PM
To: ostech-core_os
Subject: QNX7.0 iMX6 BSP fails to compile

Hi, I've recently upgraded the QNX7 Momentics via QNX Software centre and the
imx6 bsp has failed to compile the devc-sermx1 driver:

/builds/workspace/BC700_6762_sdp704/build_dir/lib/io-char/ttc.c:481: undefined reference to `smmu_init'

What is changed?
Is the imx6 bps no more alligned to latest OS upgrade?
Any help will be appreciate
Thank
M. Sangalli


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
D:/qnx700/host/win64/x86_64/usr/bin/rm -f  C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/
sermx1/arm/le.v7/devc-sermx1
D:/qnx700/host/win64/x86_64/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory      -o C:/Users/MSangalli/ide-7.0-workspace
/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.v7/devc-sermx1    externs.o    init.o    intr.o    main.o    
options.o    tto.o  -L. -LC:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/
usr/lib/xilinx -LC:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/
lib -LC:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/usr/lib -LD
:/qnx700/target/qnx7/armle-v7/lib -LD:/qnx700/target/qnx7/armle-v7/usr/lib -Wl,--rpath-link,. -Wl,--rpath-link,C:/Users/
MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/usr/lib/xilinx -Wl,--rpath-link,C:/
Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/lib -Wl,--rpath-link
,C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/../../../install/armle-v7/usr/lib -Wl,--
rpath-link,D:/qnx700/target/qnx7/armle-v7/lib -Wl,--rpath-link,D:/qnx700/target/qnx7/armle-v7/usr/lib      -lio-char    
-ldrvr   -EL
D:/qnx700/target/qnx7/armle-v7/usr/lib\libio-char.a(ttc.o): In function `ttc':
/builds/workspace/BC700_6762_sdp704/build_dir/lib/io-char/ttc.c:481: undefined reference to `smmu_init'
D:/qnx700/target/qnx7/usr/include/mk/qtargets.mk:43: recipe for target 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-
mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.v7/devc-sermx1' failed
cc: D:/qnx700/host/win64/x86_64/usr/bin/arm-unknown-nto-qnx7.0.0eabi-ld caught signal 1
make[6]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.
v7'
make[6]: *** [C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm/le.v7/devc-sermx1]
 Error 1
recurse.mk:96: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1/arm'
recurse.mk:96: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc/sermx1'
make[3]: *** [all] Error 2
recurse.mk:96: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[3]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware/devc'
make[1]: *** [all] Error 2
recurse.mk:96: recipe for target 'all' failed
make: *** [install] Error 2
make[2]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src/hardware'
recurse.mk:96: recipe for target 'all' failed
make[1]: Leaving directory 'C:/Users/MSangalli/ide-7.0-workspace/bsp-nxp-mx6x-sabreARD/src'
Makefile:33: recipe for target 'install' failed




_______________________________________________

OSTech
http://community.qnx.com/sf/go/post120081
To cancel your subscription to this discussion, please e-mail...
Re: RE: QNX7.0 iMX6 BSP fails to compile  
thaks very much! 
bsp fixed
/src/hardware/devc/common.mk
          LIBS+=io-char drvr smmu

It should be nice if bsp in QNX software center will be updated too :-)
M. Sangalli