Modify ↓
Opened 5 years ago
Closed 5 years ago
#12621 closed defect (worksforme)
r34679 breaks swconfig compilation for my ar71xx/wndr3700 build
Reported by: | hnyman <hannu.nyman@…> | Owned by: | developers |
---|---|---|---|
Priority: | normal | Milestone: | Chaos Calmer 15.05 |
Component: | base system | Version: | Trunk |
Keywords: | switch kernel-headers | Cc: |
Description
r34679, removal of kernel headers (?) from swconfig, breaks the swconfig compilation for my ar71xx/wndr3700 build.
Reverting that change, I am again able to compile revision 34703.
My buildhost is ubuntu 12.04 x64. Strangely, the buildbot system seems to have have compiled revision 34679, so it might be something related to the build environment.
mips-openwrt-linux-uclibc-gcc -D_GNU_SOURCE -I/Openwrt/trunk/staging_dir/target-mips_uClibc-0.9.33.2/usr/include/libnl-tiny -I/Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/swconfig -I/Openwrt/trunk/staging_dir/target-mips_uClibc-0.9.33.2/usr/include -I/Openwrt/trunk/staging_dir/target-mips_uClibc-0.9.33.2/include -I/Openwrt/trunk/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/Openwrt/trunk/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/include -Os -pipe -march=24kc -mtune=24kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -c -o cli.o cli.c cli.c:34:26: fatal error: linux/switch.h: No such file or directory make[4]: *** [cli.o] Error 1 make[3]: *** [/Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/swconfig/.built] Error 2
Attachments (0)
Change History (6)
comment:1 Changed 5 years ago by anonymous
comment:2 follow-up: ↓ 4 Changed 5 years ago by blogic
- Resolution set to worksforme
- Status changed from new to closed
make toolchain/clean && make
comment:3 Changed 5 years ago by anonymous
- Resolution worksforme deleted
- Status changed from closed to reopened
Same problem!
Fedora 17 and wd3600
Thanks
comment:4 in reply to: ↑ 2 Changed 5 years ago by anonymous
comment:5 Changed 5 years ago by hnyman
Do 'make dirclean' and rebuild everything. It should help. Fixed it for me.
comment:6 Changed 5 years ago by nbd
- Resolution set to worksforme
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.
I have such as