Compiling QMI SDK Samples

Dear all,

I’m trying to complile the samples in the MC7710 SDK. Unfortunately when i try to make it, I receive an error message

bin/ exists - good.
cc -o bin/connectionmgr obj//displaymgmt.o obj//connectionmgr.o  -l slqsqmi -l slqsapi -l slqscore -L ../../build/lib// -static -lrt -lpthread 
/usr/bin/ld: error: cannot find -lslqsqmi
/usr/bin/ld: error: cannot find -lslqsapi
/usr/bin/ld: error: cannot find -lslqscore
obj//connectionmgr.o:connectionmgr.c:function QuitApplication: error: undefined reference to 'QCWWANDisconnect'
obj//connectionmgr.o:connectionmgr.c:function SessionStateCallback: error: undefined reference to 'GetConnectionRate'
obj//connectionmgr.o:connectionmgr.c:function SessionStateCallback: error: undefined reference to 'SLQSGetRuntimeSettings'
obj//connectionmgr.o:connectionmgr.c:function RoamingIndicatorCallbck: error: undefined reference to 'GetHomeNetwork'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SLQSSetSessionStateCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SLQSSetWdsEventCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SLQSSetWdsEventCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SLQSSetWdsEventCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SetRFInfoCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SetSignalStrengthCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SetLURejectCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SetDeviceStateChangeCbk'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SetRoamingIndicatorCallback'
obj//connectionmgr.o:connectionmgr.c:function UnSubscribeCallbacks: error: undefined reference to 'SLQSSetSignalStrengthsCallback'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SLQSSetSessionStateCallback'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SLQSSetWdsEventCallback'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SetRFInfoCallback'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SetSignalStrengthCallback'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SetLURejectCallback'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SetDeviceStateChangeCbk'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SetRoamingIndicatorCallback'
obj//connectionmgr.o:connectionmgr.c:function SubscribeCallbacks: error: undefined reference to 'SLQSSetSignalStrengthsCallback'
obj//connectionmgr.o:connectionmgr.c:function IsConnectedDeviceGOBI: error: undefined reference to 'GetModelID'
obj//connectionmgr.o:connectionmgr.c:function DeleteProfileFromDevice: error: undefined reference to 'SLQSGetProfile'
obj//connectionmgr.o:connectionmgr.c:function DeleteProfileFromDevice: error: undefined reference to 'SLQSDeleteProfile'
obj//connectionmgr.o:connectionmgr.c:function ModifyProfileSettings: error: undefined reference to 'SLQSSetProfile'
obj//connectionmgr.o:connectionmgr.c:function CreateProfile: error: undefined reference to 'SLQSCreateProfile'
obj//connectionmgr.o:connectionmgr.c:function DisplayProfileInfo: error: undefined reference to 'SLQSGetProfile'
obj//connectionmgr.o:connectionmgr.c:function DisplayAllProfiles: error: undefined reference to 'SLQSGetProfile'
obj//connectionmgr.o:connectionmgr.c:function StopCurrentDataSession: error: undefined reference to 'SLQSStartStopDataSession'
obj//connectionmgr.o:connectionmgr.c:function UpdateProfileInformation: error: undefined reference to 'SLQSGetProfile'
obj//connectionmgr.o:connectionmgr.c:function getRegState: error: undefined reference to 'GetServingNetwork'
obj//connectionmgr.o:connectionmgr.c:function StartLteCdmaDataSession: error: undefined reference to 'SLQSStartStopDataSession'
obj//connectionmgr.o:connectionmgr.c:function StartUMTSDataSession: error: undefined reference to 'SLQSStartStopDataSession'
obj//connectionmgr.o:connectionmgr.c:function DisplayRSSInfo: error: undefined reference to 'SLQSGetSignalStrength'
obj//connectionmgr.o:connectionmgr.c:function DisplaySerialNo: error: undefined reference to 'GetSerialNumbers'
obj//connectionmgr.o:connectionmgr.c:function DisplayProfileInformation: error: undefined reference to 'GetDefaultProfile'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetManufacturer'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetModelID'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetFirmwareRevision'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetPRLVersion'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetIMSI'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetHardwareRevision'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetHomeNetwork'
obj//connectionmgr.o:connectionmgr.c:function DisplayDeviceinfo: error: undefined reference to 'GetSessionState'
obj//connectionmgr.o:connectionmgr.c:function StartSDK: error: undefined reference to 'SetSDKImagePath'
obj//connectionmgr.o:connectionmgr.c:function StartSDK: error: undefined reference to 'SLQSStart'
obj//connectionmgr.o:connectionmgr.c:function StartSDK: error: undefined reference to 'SLQSKillSDKProcess'
obj//connectionmgr.o:connectionmgr.c:function StartSDK: error: undefined reference to 'SLQSStart'
obj//connectionmgr.o:connectionmgr.c:function StartSDK: error: undefined reference to 'QCWWAN2kEnumerateDevices'
obj//connectionmgr.o:connectionmgr.c:function StartSDK: error: undefined reference to 'QCWWANConnect'
obj//connectionmgr.o:connectionmgr.c:function PowerCycleDevNRestartSDK: error: undefined reference to 'SetDeviceStateChangeCbk'
obj//connectionmgr.o:connectionmgr.c:function PowerCycleDevNRestartSDK: error: undefined reference to 'SetPower'
obj//connectionmgr.o:connectionmgr.c:function PowerCycleDevNRestartSDK: error: undefined reference to 'SLQSKillSDKProcess'
obj//connectionmgr.o:connectionmgr.c:function SetPowerMode: error: undefined reference to 'SetPower'
collect2: ld returned 1 exit status
make: *** [bin/connectionmgr] Error 1

Is it supposed to be compiled?

Hi,

Can you please check at your end that QMI SDK is copied and built properly(Please note that pkgs.mak makefile needs to be compliled in order to necessary binaries for QMI SDK).

From the traces it is seen athat particular library files(lslqsqmi.a,lslsqsapi.a,lslqscore.a) in"…\build\lib" path is not found.

Make sure that these files are avilable under library path.

Thanks.

Hi,

I’ve checked in my directory and infact the PKG folder doesn’t even exists. It’s not included in the SDK archive. How can I have it? (I’ve already signed and agreed for the NDA).

Kindest regards

I ran into the same challenge, where the Sierra SDK 03.00.02 didn’t have the ‘pkgs’ directory required for building the SampleApps found in the SDK. I had to contact one of the FAEs at Sierra to get access to the ‘pkgs’ bundle. I still haven’t gotten closure on why the sources appear to be put into separate bundles, yet are dependent on each other.

Hope this helps,
Chris