Skip to contentSkip to conversation

building j1939 stack

DISCUSSION swapnil 2 participants 4 messages May 10, 2014 – May 14, 2014 CAN network drivers

lore
Share & tools
lore

swapnil

author
#0 lore raw

Hi,
Hi Kurt I am able to build the kerneal some time befor by adding the
j1939 stack.
but i am not able to build it now.
can you help me in this.

I am getting following errors
‘.config’ -> ‘/home/bbb/beaglebone/GVE/linux-dev/patches/defconfig’
-----------------------------
make -j2 ARCH=arm LOCALVERSION=-armv7-devel-r44 CROSS_COMPILE=/home/bbb/beaglebone/GVE/linux-dev /dl/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_ linux/bin/arm-linux-gnueabihf-
zImage modules
-----------------------------

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  LD      net/can/j1939/built-in.o
  CC [M]  net/can/j1939/main.o

In file included from net/can/j1939/main.c:27:0:
net/can/j1939/j1939-priv.h:182:3: error: unknown type name ‘write_proc_t’
write_proc_t write);
^
make[3]: *** [net/can/j1939/main.o] Error 1 make[2]: *** [net/can/j1939] Error 2 make[1]: *** [net/can] Error 2
make: *** [net] Error 2

I followed the instruction on http://elinux.org/J1939

#1 lore raw

Hey,

I found already that my can-j1939 does not compile on a 3.12 kernel that I'm using.
I'm working to bring can-j1939 to 3.12 for my own use.

What kernel version do you use before & now?

Kurt

Quoted 40 lines · swapnil

Hi,
Hi Kurt I am able to build the kerneal some time befor by adding the
j1939 stack.
but i am not able to build it now.
can you help me in this.

I am getting following errors
‘.config’ -> ‘/home/bbb/beaglebone/GVE/linux-dev/patches/defconfig’
-----------------------------
make -j2 ARCH=arm LOCALVERSION=-armv7-devel-r44 CROSS_COMPILE=/home/bbb/beaglebone/GVE/linux-dev /dl/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_ linux/bin/arm-linux-gnueabihf-
zImage modules
-----------------------------

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  LD      net/can/j1939/built-in.o
  CC [M]  net/can/j1939/main.o
In file included from net/can/j1939/main.c:27:0:
net/can/j1939/j1939-priv.h:182:3: error: unknown 
type name ‘write_proc_t’
   write_proc_t write);
   ^

make[3]: *** [net/can/j1939/main.o] Error 1
make[2]: *** [net/can/j1939] Error 2
make[1]: *** [net/can] Error 2
make: *** [net] Error 2

I followed the instruction on http://elinux.org/J1939

--
To unsubscribe from this list: send the line "unsubscribe linux-can" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 8 lines · Kurt Van Dijck <dev.kurt <at> vandijck-laurijssen.be> writes:

Hey,

I found already that my can-j1939 does not compile on a 3.12 kernel that I'm using.
I'm working to bring can-j1939 to 3.12 for my own use.

What kernel version do you use before & now?

I am using 3.8
i missed to do checkout git checkout origin/am33x-v3.8 that's why it did not worked.. I am able to compile now :). I am targeting to boot my Kernal in 2 Seconds. Thanks

Quoted 3 lines

Kurt

#3 lore raw
Quoted 5 lines · swapnil
Quoted 3 lines · Kurt Van Dijck <dev.kurt <at> vandijck-laurijssen.be> writes:

Hey,

Quoted 8 lines
Quoted 5 lines

I found already that my can-j1939 does not compile on a 3.12 kernel that I'm using.
I'm working to bring can-j1939 to 3.12 for my own use.

What kernel version do you use before & now?

I am using 3.8
i missed to do checkout git checkout origin/am33x-v3.8 that's why it did not worked.. I am able to compile now :).

Such things happen.
It's fine to hear that it works now.

Quoted 14 lines

I am targeting to boot my Kernal in 2 Seconds.
Thanks

Quoted 3 lines

Kurt

--
To unsubscribe from this list: send the line "unsubscribe linux-can" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html