Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #113 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Building LuCi to run on my host machine fails

Reported by: reporter Owned by:
Priority: major Milestone:
Component: LuCI Base Keywords: build, trunk, runhttpd
Cc:

Description

Here's what I do:

svn co  http://svn.luci.subsignal.org/luci/trunk luci
# (currently I get revision 5821)
cd luci
make

And I get the following error:

make[2]: Entering directory `/home/ben/dev/svn/luci-trunk/libs/luanet/src'
cc -O2 -fPIC -I/usr/include/lua5.1 --std=gnu99 -c ifconfig.c -o ifconfig.o
cc -O2 -fPIC -I/usr/include/lua5.1 --std=gnu99 -c bridge.c -o bridge.o
cc -O2 -fPIC -I/usr/include/lua5.1 --std=gnu99 -c iwconfig.c -o iwconfig.o
iwconfig.c: In function ‘iwc_get’:
iwconfig.c:192: error: ‘KILO’ undeclared (first use in this function)
iwconfig.c:192: error: (Each undeclared identifier is reported only once
iwconfig.c:192: error: for each function it appears in.)
iwconfig.c: In function ‘print_scanning_token’:
iwconfig.c:533: warning: implicit declaration of function ‘iw_saether_ntop’
iwconfig.c:533: warning: passing argument 3 of ‘add_table_entry’ makes pointer from integer without a cast
helper.h:28: note: expected ‘const char *’ but argument is of type ‘int’
iwconfig.c: In function ‘iwc_scan’:
iwconfig.c:653: error: ‘IW_EV_LCP_PK2_LEN’ undeclared (first use in this function)
iwconfig.c:653: error: ‘IW_EV_POINT_PK2_LEN’ undeclared (first use in this function)
make[2]: *** [iwconfig.o] Error 1
make[2]: Leaving directory `/home/ben/dev/svn/luci-trunk/libs/luanet/src'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/ben/dev/svn/luci-trunk/libs/luanet'
*** Compilation of libs/luanet failed!
make: *** [gccbuild] Error 1

Everything works fine with version 0.8.8 however:

svn co  http://svn.luci.subsignal.org/luci/tags/0.8.8 luci-0.8.8
cd luci-0.8.8
make runhttpd
# and I can connect to  http://localhost:8080/luci

--
Benoît Knecht

Attachments

Change History

follow-up: ↓ 2   Changed 3 years ago by jow

  • status changed from new to closed
  • resolution set to fixed

see r5823

in reply to: ↑ 1   Changed 3 years ago by reporter

Replying to jow:

see r5823

That worked great, thanks!

--
Benoît Knecht

Add/Change #113 (Building LuCi to run on my host machine fails)

Author


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


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.