Find the answer to your Linux question:
Results 1 to 2 of 2
Hello friends, I am building one driver related to wifi. When I am looking its hex dump, I can see that it is including a path to one particular file ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    1

    Question path included in .o file of device driver

    Hello friends,

    I am building one driver related to wifi. When I am looking its hex dump, I can see that it is including a path to one particular file of kernel headers. It is as under.

    6C 75 65 2E 0A 00 00 00 25 64 2E 25 64 2E 25 64 lue.....%d.%d.%d
    2D 25 73 00 00 00 00 00 42 45 54 41 00 00 00 00 -%s.....BETA....
    2F 68 6F 6D 65 2F 73 61 6E 64 62 6F 78 2F 63 65 /home/sandbox/ce
    2F 63 6F 6D 6D 6F 6E 2F 73 77 2F 30 31 2E 32 34 /common/sw/01.24
    2F 74 72 75 6E 6B 2F 6B 65 72 6E 65 6C 2F 69 6E /trunk/kernel/in
    63 6C 75 64 65 2F 6C 69 6E 75 78 2F 6E 65 74 64 clude/linux/netd
    65 76 69 63 65 2E 68 00 75 73 62 2D 25 73 2D 25 evice.h.usb-%s-%
    73 00 00 00 49 78 4F 53 4C 69 6E 75 78 55 53 42 s...IxOSLinuxUSB
    2E 63 00 00 49 58 5F 53 54 41 54 55 53 5F 58 46 .c..IX_STATUS_XF
    45 52 5F 41 42 4F 52 54 45 44 0A 00 2F 68 6F 6D ER_ABORTED../hom
    65 2F 73 61 6E 64 62 6F 78 2F 63 65 2F 63 6F 6D e/sandbox/ce/com
    6D 6F 6E 2F 73 77 2F 30 31 2E 32 34 2F 74 72 75 mon/sw/01.24/tru
    6E 6B 2F 6B 65 72 6E 65 6C 2F 69 6E 63 6C 75 64 nk/kernel/includ
    65 2F 6C 69 6E 75 78 2F 6E 65 74 64 65 76 69 63 e/linux/netdevic
    65 2E 68 00 2F 68 6F 6D 65 2F 73 61 6E 64 62 6F e.h./home/sandbo
    78 2F 63 65 2F 63 6F 6D 6D 6F 6E 2F 73 77 2F 30 x/ce/common/sw/0
    31 2E 32 34 2F 74 72 75 6E 6B 2F 6B 65 72 6E 65 1.24/trunk/kerne
    6C 2F 69 6E 63 6C 75 64 65 2F 6C 69 6E 75 78 2F l/include/linux/
    6E 65 74 64 65 76 69 63 65 2E 68 00 00 00 00 00 netdevice.h.....
    01 00 00 00 01 00 00 00 00 00 00 00 04 00 00 00 ................
    08 00 00 00 06 00 00 00 00 00 00 00 46 65 62 20 ............Feb
    31 31 20 32 30 31 31 00 31 2E 30 00 57 69 72 65 11 2011.1.0.Wire
    6C 65 73 73 20 4C 41 4E 00 00 00 00 3C 68 69 64 less LAN....<hid
    64 65 6E 3E 00 00 00 00 2F 68 6F 6D 65 2F 73 61 den>..../home/sa
    6E 64 62 6F 78 2F 63 65 2F 63 6F 6D 6D 6F 6E 2F ndbox/ce/common/
    73 77 2F 30 31 2E 32 34 2F 74 72 75 6E 6B 2F 6B sw/01.24/trunk/k
    65 72 6E 65 6C 2F 69 6E 63 6C 75 64 65 2F 6C 69 ernel/include/li
    6E 75 78 2F 6E 65 74 64 65 76 69 63 65 2E 68 00 nux/netdevice.h.

    Is it okay if .obj includes path of kernel headers? What can I do to remove it? What are the possible reasons?



    Thanks.

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    debug info probably

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...