MC7354 Linux Connection Manager Compilation for ARM

Hello,

By using packaged \SLQS03.03.08.bin.tar\SLQS03.03.08.bin\build\bin\arm files with connection manager (SLQS03.03.08.bin.tar\SLQS03.03.08.bin\SampleApps\Connection_Manager\bin\connectionmgrarm ) we are able to run connection manager test app with out any issues as expected.

To customize connection manager, we required to compile this app. For this, when we try to compile for arm we are getting following errors:

Development-Linux:~/Documents/sierramodem/gobi/SLQS03.03.10.bin/SampleApps/Connection_Manager$ make CROSS_COMPILE=~/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi- ARCH=arm
bin/ exists - good.
/home/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lslqsqmi
/home/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lslqsapi
/home/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lslqscore
collect2: error: ld returned 1 exit status
make: *** [bin/connectionmgrhostx86_64] Error 1
Development-Linux:~/Documents/sierramodem/gobi/SLQS03.03.10.bin/SampleApps/Connection_Manager$

As per Linux QMI SDK Application Developer Guide, to get lslqsqmi, lslqsapi and lslqscore bin files needs to build SDK. For this we tried to build

pkgs\sampleapp.mak

as per given instructions in page number # 16.

Can anyone please suggest how to compile given sample applications under ARM cross Compile.

1 Like

Hi,

What steps did you try?
is it like for the packages:

make –f pkgs.mak complete

and then

for the application as:
make CPU=arm9

Thanks
Alex

make –f pkgs.mak complete

looking for pkgs.mak file.

What we received from sierra FROM SLQS03.03.10.tar is only slqscompile.mak file.

regards,

Hi,

Oh yeah… that is for source code I guess…
never mind, was just checking the slqscompile.mak file

For arm, powerpc and MIPs, platform specific toolchains are used.

These must be installed to the $(HOME) directory once and can be used for all

SDK workspaces. If they do not exist,

make CPU=arm

make CPU=ppc

make CPU=mips

make CPU=mipsel

will simply fail.

So, I guess you are using specific toolchain…?

Hello, We are getting following error when we apply make CPU=arm or make CPU=path of cross compile

make:*** No rule to make target ‘arm’. stop.

All other non related sierra code we are able to compile with installed arm cross compile.

Can you please help me…

Regards,

hi,

can you let me know the cross compile tool chain path from where did you download it?

I can may be try that over here…

Unfortunately the documentation is wrong. I also have the same problem but could not find a solution.

root@Khadas:/media/khadas/Dosyalarim/SLQS04.00.27.bin# ls
api build docs pkgs SampleApps tools
root@Khadas:/media/khadas/Dosyalarim/SLQS04.00.27.bin# cd pkgs
root@Khadas:/media/khadas/Dosyalarim/SLQS04.00.27.bin/pkgs# ls
qa slqscompile.mak

The pkgs.mak file is not in the folder.

Can I solve the problem and I am faced with the same problem!