phidget22networkserver installation error

Supporting 2.6 and up
calvin
Fresh meat
Posts: 1
Joined: Thu Jul 20, 2017 6:37 am
Contact:

phidget22networkserver installation error

Postby calvin » Thu Jul 20, 2017 6:43 am

Attempting to install phidget22networkserver-1.0.0.20170711, same error on both raspberry pi noobs, ubuntumate & x86 ubuntu 14.04 box.

libphidget22 & libphidget22extra install fine.

when doing a make on phidget22networkserver it errors out with

src/sqlite3.c: In function ‘parseYyyyMmDd’:
src/sqlite3.c:19115:42: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
while( sqlite3Isspace(*zDate) || 'T'==*(u8*)zDate ){ zDate++; }

Any ideas?
Thanks.

User avatar
Patrick
Lead Developer
Posts: 3064
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: phidget22networkserver installation error

Postby Patrick » Thu Jul 20, 2017 11:01 am

Are you sure it's stopping the build? -Werror isn't set in the compiler flags so warnings shouldn't stop the build.

These warnings can be disabled in Makefile.am - remove -Wcast-qual and -Wwrite-string. I'll also disable them in the next release.

-Patrick


Return to “Linux”

Who is online

Users browsing this forum: wuhuilin11 and 1 guest