Menu

#264 build null point fails at kernel/debug/gdbstub.c for implicit declaration of function ‘pack_hex_byte’

master head
closed
andre
None
low
fixed
BF533-STAMP
2014-10-17
2014-09-26
panmingquan
No

build null point fails at kernel/debug/gdbstub.c for implicit declaration of function ‘pack_hex_byte’ from about Sep 10.

CC fs/stack.o^M
CC fs/fs_struct.o^M
CC fs/statfs.o^M
CC fs/fs_pin.o^M
LD kernel/bpf/built-in.o^M
CC kernel/debug/debug_core.o^M
CC fs/buffer.o^M
LD mm/built-in.o^M
CC ipc/util.o^M
CC kernel/debug/gdbstub.o^M
/home/test/workspace/src/kernel/label/BF533-STAMP-STD/linux/linux-kernel/kernel/debug/gdbstub.c: In function ‘gdb_serial_stub’:^M
/home/test/workspace/src/kernel/label/BF533-STAMP-STD/linux/linux-kernel/kernel/debug/gdbstub.c:998: error: implicit declaration of function ‘pack_hex_byte’^M
/home/test/workspace/src/kernel/label/BF533-STAMP-STD/linux/linux-kernel/kernel/debug/gdbstub.c:998: warning: assignment makes pointer from integer without a cast^M
make[4]: [kernel/debug/gdbstub.o] Error 1^M
make[3]:
[kernel/debug] Error 2^M
make[2]: [kernel] Error 2^M
make[2]:
Waiting for unfinished jobs....^M
CC ipc/msgutil.o^M
CC ipc/msg.o^M
CC ipc/sem.o^M
CC fs/block_dev.o^M

Discussion

  • Sonic Zhang

    Sonic Zhang - 2014-09-26
    • assigned_to: andre
    • Resolution: none --> assigned
     
  • andre

    andre - 2014-09-29
    • Resolution: assigned --> fixed
     
  • andre

    andre - 2014-09-29

    Fixed in commit 5f513d0d7881a1caf077508e206ea59a4146f409

     
  • panmingquan

    panmingquan - 2014-10-13

    It looks on master head it still has build error like:

    CC fs/file.o
    CC mm/slab.o
    CC kernel/debug/gdbstub.o
    CC fs/filesystems.o
    /home/test/workspace/src/kernel/label/BF537-STAMP-SPINET/linux/linux-kernel/kernel/debug/gdbstub.c: In function ‘gdb_serial_stub’:
    /home/test/workspace/src/kernel/label/BF537-STAMP-SPINET/linux/linux-kernel/kernel/debug/gdbstub.c:998: error: implicit declaration of function ‘hex_pack_byte’
    /home/test/workspace/src/kernel/label/BF537-STAMP-SPINET/linux/linux-kernel/kernel/debug/gdbstub.c:998: warning: assignment makes pointer from integer without a cast
    make[4]: [kernel/debug/gdbstub.o] Error 1
    make[3]:
    [kernel/debug] Error 2
    make[2]: [kernel] Error 2
    make[2]:
    Waiting for unfinished jobs....
    CC fs/namespace.o
    CC fs/seq_file.o

     
  • panmingquan

    panmingquan - 2014-10-13
    • Resolution: fixed --> under_debugging
     
  • andre

    andre - 2014-10-17

    Fixed for real this time under commit: 095aab63d2f1939d9d420c5feade427515377933

     
  • andre

    andre - 2014-10-17
    • Resolution: under_debugging --> fixed
     
  • panmingquan

    panmingquan - 2014-10-17

    Yes, it builds ok now.
    Close.

     
  • panmingquan

    panmingquan - 2014-10-17
    • status: open --> closed
     

Log in to post a comment.