help!!!

2007-05-23
2013-04-10
  • hu changjun
    hu changjun
    2007-05-23

    who can help me?
    when i compile the btrax on ubuntu7.04 i got some problem,as following:
    #cd btrax-1.0.3
    #make
    ############
    make -C module
    make[1]: Entering directory `/root/Desktop/btrax-1.0.3/module'
    make -C /lib/modules/2.6.20-15-generic/source SUBDIRS=/root/Desktop/btrax-1.0.3/module modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
      CC [M]  /root/Desktop/btrax-1.0.3/module/bt_main.o
    /root/Desktop/btrax-1.0.3/module/bt_main.c: In function 'setup_ds_area_per_cpu':
    /root/Desktop/btrax-1.0.3/module/bt_main.c:433: error: invalid operands to binary |
    /root/Desktop/btrax-1.0.3/module/bt_main.c: At top level:
    /root/Desktop/btrax-1.0.3/module/bt_main.c:539: error: size of array 'type name' is negative
    make[3]: *** [/root/Desktop/btrax-1.0.3/module/bt_main.o] Error 1
    make[2]: *** [_module_/root/Desktop/btrax-1.0.3/module] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/root/Desktop/btrax-1.0.3/module'
    make: *** [all] Error 2
    ###############
    I have no idea about it ,please help me! thanks!