Modify

Opened 8 years ago

Closed 8 years ago

#161 closed defect (fixed)

openwrt: swconfig, changeset r28133 breaks build of swconfig

Reported by: anonymous Owned by: amain
Priority: blocker Milestone: milestone:
Component: other Version: trunk
Severity: severity 4 Keywords:
Cc:

Description

Using rev 314 of debwrt. Recent (08/30/11) change to swconfig (from openwrt) breaks the build with the following messages:

cli.c:149: error: expected declaration specifiers or '...' before 'bool'
cli.c: In function 'show_vlan':
cli.c:156: error: 'all' undeclared (first use in this function)
cli.c:156: error: (Each undeclared identifier is reported only once
cli.c:156: error: for each function it appears in.)
cli.c: In function 'main':
cli.c:329: error: 'false' undeclared (first use in this function)
cli.c:329: error: too many arguments to function 'show_vlan'
cli.c:335: error: 'true' undeclared (first use in this function)
cli.c:335: error: too many arguments to function 'show_vlan'
make[1]: * [cli.o] Error 1

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by anonymous

I'm getting this build error as well, here's the rest of the output:

make[1]: Leaving directory `/usr/src/swconfig/swconfig-0.1/src'
make: * [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
+ find /usr/src/swconfig -maxdepth 1 -name '*.deb'
+ xargs -r -t -i sudo dpkg-cross -a mipsel -i '{}'
touch debian/package/swconfig/build
mkdir -p /home/user/debwrt/bin/brcm4716-testing-2.1-1-default/debian
cp -rav /home/user/debwrt/build/debian-brcm4716-None-squeeze/usr/src/swconfig/*.deb /home/user/debwrt/bin/brcm4716-testing-2.1-1-default/debian
cp: cannot stat `/home/user/debwrt/build/debian-brcm4716-None-squeeze/usr/src/swconfig/*.deb': No such file or directory
make:
* [debian/package/swconfig/deliver] Error 1

comment:2 Changed 8 years ago by shinton@…

Open debian/package/swconfig/build.sh and change line 29 from this:

svn co ${DOWNLOAD_URL} ${BUILD_DIR}

to this:

svn co -r 28132 ${DOWNLOAD_URL} ${BUILD_DIR}

Run make debian/package/swconfig/clean and the build should work this time.

comment:3 Changed 8 years ago by shinton@…

I've also created a patch to fix this issue which is available in the rt-n16 plugin.

comment:4 Changed 8 years ago by amain

  • Status changed from new to accepted
  • Version changed from 2.0 to trunk

comment:5 Changed 8 years ago by amain

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

Fixed in r317.

Add Comment

Modify Ticket

Action
as closed The owner will remain amain.
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.