Modify

Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#3005 closed defect (fixed)

Compiling Kamikaze (r10161, incl. all packages) fails

Reported by: moh_de Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

When trying to compile latest Kamikaze from trunk (including all existing packages, BCMxxxxx 2.6/WGT634U) it fails with the following message:

moh@node3: /data/tmp/kamikaze-trunk$ make V=99
Collecting package info: done
Checking 'pkg-config'... ok.
Checking 'autoconf'... ok.
Checking 'autoconf'... ok.
Checking 'sdcc'... ok.
Checking 'bison'... ok.
Checking 'pkg-config'... ok.
Checking 'xgettext'... ok.
Checking 'ruby'... ok.
Checking 'fastjar'... ok.
Checking 'jikes'... ok.
Checking '/usr/include/openssl/ssl.h'... ok.
make[1]: Entering directory `/data/tmp/kamikaze-trunk'
make[2]: Entering directory `/data/tmp/kamikaze-trunk'
make[3]: Entering directory `/data/tmp/kamikaze-trunk/target/linux'
TARGET_BUILD=1 make -C brcm47xx compile
make[4]: Entering directory `/data/tmp/kamikaze-trunk/target/linux/brcm47xx'
rm -f /data/tmp/kamikaze-trunk/build_dir/linux-brcm47xx/linux-2.6.23.1/vmlinux /data/tmp/kamikaze-trunk/build_dir/linux-brcm47xx/linux-2.6.23.1/System.map
make -C /data/tmp/kamikaze-trunk/build_dir/linux-brcm47xx/linux-2.6.23.1 CROSS_COMPILE="mipsel-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="mipsel-linux-uclibc-gcc" modules
make[5]: Entering directory `/data/tmp/kamikaze-trunk/build_dir/linux-brcm47xx/linux-2.6.23.1'

CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CC [M] net/sched/sch_esfq.o

net/sched/sch_esfq.c: In function 'esfq_hash':
net/sched/sch_esfq.c:145: error: 'struct sk_buff' has no member named 'nh'
net/sched/sch_esfq.c:161: error: 'struct sk_buff' has no member named 'nh'
make[7]: * [net/sched/sch_esfq.o] Error 1
make[6]:
* [net/sched] Error 2
make[5]: * [net] Error 2
make[5]: Leaving directory `/data/tmp/kamikaze-trunk/build_dir/linux-brcm47xx/linux-2.6.23.1'
make[4]:
* /data/tmp/kamikaze-trunk/build_dir/linux-brcm47xx/linux-2.6.23.1/.modules Error 2
make[4]: Leaving directory `/data/tmp/kamikaze-trunk/target/linux/brcm47xx'
make[3]: * [compile] Error 2
make[3]: Leaving directory `/data/tmp/kamikaze-trunk/target/linux'
make[2]:
* [target/linux/compile] Error 2
make[2]: Leaving directory `/data/tmp/kamikaze-trunk'
make[1]: * /data/tmp/kamikaze-trunk/staging_dir/mipsel/stamp/.target_compile Error 2
make[1]: Leaving directory `/data/tmp/kamikaze-trunk'
make:
* [world] Error 2
moh@node3:

The output is also attached as file.

Any idea?

Attachments (1)

make_out.txt (2.2 KB) - added by moh_de 10 years ago.
make - error messages

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by moh_de

make - error messages

comment:1 Changed 10 years ago by towil

The problem comes from [10147].

I worked around it by changing skb->nh.iph to ip_hdr(skb) and skb->nh.ipv6h to ipv6_hdr(skb) in source:/trunk/target/linux/generic-2.6/patches-2.6.23/200-sched_esfq.patch

I don't know if this is the correct fix though.

comment:2 Changed 10 years ago by nlinux <mekelly5@…>

I can confirm this exists when compiling ixp4xx also.

comment:3 Changed 10 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

This is the right fix,thanks ! Applied in [10174]

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.