• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » WLAN Applications Forum » WLAN linux.ko build errors
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

WLAN linux.ko build errors

WLAN linux.ko build errors

This question is answered
Glenn Wainwright
Posted by Glenn Wainwright
on Jun 23 2010 12:48 PM
Expert1425 points

Building the WLAN driver for OMAP3530 for linux 02.01.03.11 using the v2.01.03.11-WL6.1.3.1 software, patched to the version necessary to use the 2008q1 toolchain.

During the WLAN portion of the build, I'm getting a large number of errors building linux.ko, all of which claim to have found undefined objects.  Many of these objects are defined in source under WiLink/, which the build should be pulling in.  I'm not sure what I'm doing wrong here to have these issues.  Kernel and Bluetooth portions of the build appear to complete successfully, but I have not yet tested their output.  Any help would be appreciated.

Build log pasted below:

rm -f ../../../platforms/os/linux/tiwlan_drv.ko ../../../stad/build/linux/libestadrv.a ../../../platforms/os/common/build/linux/libuadrv.a ../../../platforms/os/linux/build/tiwlan_drv_stub.o ../../../CUDK/output/wlan_cu ../../../CUDK/output/tiwlan_loader ../../../CUDK/output/wlan_logger

make -C ../../../stad/build/linux CROSS_COMPILE=arm-none-linux-gnueabi- DEBUG=y BUILD_SUPPL=y SUPPL=WPA WSPI=n INTR=y XCC=n INFO=n STATIC_LIB=y

make[1]: Entering directory `/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux'

rm -f ../../../stad/build/linux/libestadrv.a

make -C /home/glennw/workdir/opt/linux-02.01.03.11 M=`pwd` ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules

make[2]: Entering directory `/home/glennw/workdir/opt/linux-02.01.03.11'

  CC [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/../../../stad/src/Ctrl_Interface/DrvMain.o

  CC [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/../../../stad/src/Ctrl_Interface/EvHandler.o

  CC [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/../../../stad/src/Ctrl_Interface/CmdHndlr.o

  CC [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/../../../stad/src/Ctrl_Interface/CmdDispatcher.o

...snip...

  CC [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/../../../utils/rate.o

  CC [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/../../../utils/freq.o

  LD [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.o

  Building modules, stage 2.

  MODPOST 1 modules

WARNING: "hPlatform_DevicePowerOn" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "cmdInterpret_Create" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_memoryFree" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "hPlatform_DevicePowerOff" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "hPlatform_Wlan_Hardware_DeInit" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "wlanDrvIf_GetFile" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_memoryZero" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "sdioAdapt_DisconnectBus" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_printf" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "cmdInterpret_convertAndExecute" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_StalluSec" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_InterruptServiced" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "sdioAdapt_Transact" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "wlanDrvIf_StopTx" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "osInitTable_IniFile" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "wlanDrvIf_UpdateDriverState" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_SignalObjectSet" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_timeStampMs" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "wlanDrvIf_ResumeTx" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "sdioAdapt_TransactBytes" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_SignalObjectCreate" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_setDebugOutputToLogger" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "RxBufAlloc" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_memorySet" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_receivePacket" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "RxBufFree" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_Trace" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_protectLock" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_SetDrvThreadPriority" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_RequestSchedule" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_memoryCopy" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_SignalObjectWait" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "sdioAdapt_ConnectBus" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_protectDestroy" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "wlanDrvIf_CommandDone" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_memoryCompare" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "IPC_EventSend" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_timerCreate" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_timerStart" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_timerDestroy" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "wlanDrvIf_FreeTxPacket" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "cmdInterpret_Init" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "cmdInterpret_Destroy" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_timerStop" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "wlanDrvIf_SetMacAddress" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_SignalObjectFree" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_memoryCAlloc" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "bm_act_trace_out" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_protectUnlock" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "bm_act_register_event" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "hPlatform_Wlan_Hardware_Init" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "cmdInterpret_GetStat" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "bm_act_trace_in" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "hPlatform_DevicePowerOffSetLongerDelay" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_protectCreate" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_memoryAlloc" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "TiDebugFlag" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

WARNING: "os_setDebugMode" [/home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko] undefined!

  CC      /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.mod.o

  LD [M]  /home/glennw/v2.01.03.11-WL6.1.3.1/software/sources/wireless/WiLink/stad/build/linux/linux.ko

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • sinoj issac
    Posted by sinoj issac
    on Jun 24 2010 01:39 AM
    Expert2800 points

    Hi,

    Those errors are just compiler warnings since the symbols have not been exported to symbol table and will get resolved when the modules are inserted ( insmod) in the right  order.

    ie.

    # insmod sdio.ko

    # insmod bmtrace.ko

    # insmod tiwlan_drv.ko

     

    Best Regards,

    Sinoj

     

     

    WL1271 module start WLAN
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Glenn Wainwright
    Posted by Glenn Wainwright
    on Jun 24 2010 10:27 AM
    Expert1425 points

    Well, I thought that was the root of the problem that I'm having, but perhaps not.  I'm following that order of insmod'ing, but below here is the problem that I'm seeing when I run insmod tiwlan_drv.ko.  I had figured it had something to do with the missing symbol messages in the build, but perhaps there's a different issue going on here?

    I appreciate your help, thank you.

    Full error follows:

    root@omap3evm:~/wlan/wlan# insmod tiwlan_drv.ko

    tiwlan_drv: no symbol version for sdioDrv_WriteSync

    tiwlan_drv: Unknown symbol sdioDrv_WriteSync

    tiwlan_drv: no symbol version for sdioDrv_ConnectBus

    tiwlan_drv: Unknown symbol sdioDrv_ConnectBus

    tiwlan_drv: no symbol version for sdioDrv_ExecuteCmd

    tiwlan_drv: Unknown symbol sdioDrv_ExecuteCmd

    tiwlan_drv: no symbol version for bm_act_trace_in

    tiwlan_drv: Unknown symbol bm_act_trace_in

    tiwlan_drv: no symbol version for sdioDrv_WriteSyncBytes

    tiwlan_drv: Unknown symbol sdioDrv_WriteSyncBytes         

    tiwlan_drv: no symbol version for bm_act_register_event                               

    tiwlan_drv: Unknown symbol bm_act_register_event              

    tiwlan_drv: no symbol version for bm_act_trace_out                       

    tiwlan_drv: Unknown symbol bm_act_trace_out                 

    tiwlan_drv: no symbol version for g_sdio_debug_level                         

    tiwlan_drv: Unknown symbol g_sdio_debug_level              

    tiwlan_drv: no symbol version for sdioDrv_DisconnectBus                          

    tiwlan_drv: Unknown symbol sdioDrv_DisconnectBus                            

    tiwlan_drv: no symbol version for sdioDrv_ReadSync                    

    tiwlan_drv: Unknown symbol sdioDrv_ReadSync                     

    tiwlan_drv: no symbol version for sdioDrv_WriteAsync                           

    tiwlan_drv: Unknown symbol sdioDrv_WriteAsync                

    tiwlan_drv: no symbol version for sdioDrv_ReadSyncBytes                         

    tiwlan_drv: Unknown symbol sdioDrv_ReadSyncBytes                                

    tiwlan_drv: no symbol version for sdioDrv_ReadAsync                        

    tiwlan_drv: Unknown symbol sdioDrv_ReadAsync                                     

    insmod: error inserting 'tiwlan_drv.ko': -1 Unknown symbol in module

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sinoj issac
    Posted by sinoj issac
    on Jun 24 2010 10:56 AM
    Verified Answer
    Verified by Glenn Wainwright
    Expert2800 points

    Hi,

    Whether the CONFIG_MODVERSIONS is set or not set in the kernel .config?

    In the kernel patch file provided in the release, CONFIG_MODVERSIONS is not set.

    Regards,

    Sinoj

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Glenn Wainwright
    Posted by Glenn Wainwright
    on Jun 24 2010 11:00 AM
    Expert1425 points

    CONFIG_MODVERSIONS is currently enabled.  I'll disable, rebuild, and see what happens.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Glenn Wainwright
    Posted by Glenn Wainwright
    on Jun 24 2010 11:28 AM
    Expert1425 points

    Looks like that was the issue!  Thank you!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use