Modify

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:

Description

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

/target-mips_r2_uClibc-0.9.33.2/usr/include/libnl-tiny -I/usr/src/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/swconfig -I/usr/src/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/usr/src/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/usr/src/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_uClibc-0.9.33.2/usr/include -I/usr/src/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_uClibc-0.9.33.2/include -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-0.9.33.2/swconfig'
make[3]:
* /usr/src/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/swconfig/.built 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'
make[1]:
* /usr/src/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile Error 2

Thanks a lot,
Stephan

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

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.