further FAQ correction

TimH timh at dirtymonday.net
Sat May 11 19:50:31 PDT 2013


In the flashdist FAQ, under "How do I install NSH on to a flashrd based
system?", is seems that this line:

make LDADD="-ledit -ltermcap -static" CFLAGS="-O -DDHCPLEASES=\"/flash/dhcpd.leases\""

Should be changed to:

make LDADD="-lsqlite3 -ledit -ltermcap -static" CFLAGS="-O -DDHCPLEASES=\\\"/flash/dhcpd.leases\\\""


The extra escaping I explained previously, but without kinking against sqlite3 I get the following failure:

sqlite3.o(.text+0x21): In function `sq3simple':
: undefined reference to `sqlite3_open'
sqlite3.o(.text+0x2f): In function `sq3simple':
: undefined reference to `sqlite3_errmsg'
sqlite3.o(.text+0x6a): In function `sq3simple':
: undefined reference to `sqlite3_prepare_v2'
sqlite3.o(.text+0x88): In function `sq3simple':
: undefined reference to `sqlite3_errmsg'
sqlite3.o(.text+0xb8): In function `sq3simple':
: undefined reference to `sqlite3_column_text'
sqlite3.o(.text+0xfd): In function `sq3simple':
: undefined reference to `sqlite3_finalize'
sqlite3.o(.text+0x107): In function `sq3simple':
: undefined reference to `sqlite3_close'
sqlite3.o(.text+0x12f): In function `sq3simple':
: undefined reference to `sqlite3_step'
sqlite3.o(.text+0x144): In function `sq3simple':
: undefined reference to `sqlite3_finalize'
sqlite3.o(.text+0x14e): In function `sq3simple':
: undefined reference to `sqlite3_close'
sqlite3.o(.text+0x15d): In function `sq3simple':
: undefined reference to `sqlite3_errmsg'
collect2: ld returned 1 exit status
*** Error 1 in /home/tim/nsh (<bsd.prog.mk>:95 'nsh')


--TimH



More information about the flashrd mailing list