phidget22networkserver installation error

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

phidget22networkserver installation error

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

Attempting to install phidget22networkserver-, 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?

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

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 - remove -Wcast-qual and -Wwrite-string. I'll also disable them in the next release.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 4 guests