I got Linux QMI SDK Software 04.00.16 (SLQS04.00.16.bin.tar [gz] 235.3MB) from source.sierra.com
when I compiled the sample app (firmware download), I got below error:-
kelvin@kelvin-Aspire-3810T:~/sierra/16-full-sdk/SampleApps/Firmware_Download$ sudo make
Compiling src/fwDld_main.c
In file included from …/…/api/SWIWWANCMAPI.h:47:0,
from inc/fwDld_common.h:14,
from inc/fwDld_main.h:14,
from src/fwDld_main.c:12:
…/…/api/cbk/inc/qaGobiApiCbk.h:19:10: fatal error: qmudefs.h: No such file or directory #include “qmudefs.h”
^~~~~~~~~~~
compilation terminated.
makefile:9: recipe for target ‘obj/hostx86_64/fwDld_main.o’ failed
make: *** [obj/hostx86_64/fwDld_main.o] Error 1
seems that it miss the qmudefs.h
how can I solve it?
It looks like SLQS04.00.15 works to build the sample apps. Looking into it, the #include "qmudefs.h" was added into qaGobiApiCbk.h between version 15 and version16 but the appropriate qmudefs.h was not.
Compiling src/start_sdk.c
In file included from …/…/api/SWIWWANCMAPI.h:47:0,
from src/start_sdk.c:12:
…/…/api/cbk/inc/qaGobiApiCbk.h:19:21: fatal error: qmudefs.h: No such file or directory #include “qmudefs.h”
^
compilation terminated.
make: *** [obj/hostx86_64/start_sdk.o] Error 1
Also I had one more question about compiling “slqssdk”. I don’t find it in SDK documentation.
With the package that is posted on the source you cannot recompile the SDK yourself as the source code is not included. Best thing to do if you do need it recompiled for some reason i.e. different arch, specific toolchain required, etc which the pre compiled version do not cater for, contact your distributor to raise a ticket.