Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12628 closed defect (duplicate)

cannot compile r34715

Reported by: Stephan Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: switch.h compile Cc:


Hi, compilation breaks when compiling cli.c and complains about a missing file switch.h:

/target-mips_r2_uClibc- -I/usr/src/OpenWRT/trunk/build_dir/target-mips_r2_uClibc- -I/usr/src/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc- -I/usr/src/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc- -I/usr/src/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_uClibc- -I/usr/src/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_uClibc- -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -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
compilation terminated.
make[4]: * [cli.o] Error 1
make[4]: Leaving directory `/usr/src/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-'
* /usr/src/OpenWRT/trunk/build_dir/target-mips_r2_uClibc- Error 2
make[3]: Leaving directory `/usr/src/OpenWRT/trunk/package/network/config/swconfig'
make[2]: * [package/network/config/swconfig/compile] Error 2
make[2]: Leaving directory `/usr/src/OpenWRT/trunk'
* /usr/src/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc- Error 2

Thanks a lot,

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by jow

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

comment:2 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

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

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

Note: See TracTickets for help on using tickets.