[PATCH] sqlite3.c:23531: error: 'fchmod' undeclared here (not in a function)
-
Trying to build NetXMS-1.2.11 on FreeBSD 9.2 I'm runing into an error message..
I configured like this: ./configure --with-openssl --with-mysql --with-server --with-snmp --with-agent --prefix=/usr/local/netxmsThen when I try to 'make' it ends in error.
I have sqlite3 installed.Making all in sqlite
 CC  libnxsqlite_la-sqlite3.lo
sqlite3.c:23531: error: 'fchmod' undeclared here (not in a function)
*** [libnxsqlite_la-sqlite3.lo] Error code 1I fixed it by adding #include <sys/stat.h> to netxms-1.2.11/src/sqlite/sqlite3.c
It's probably not the best place to put it but at least it works
Maybe it can be added to the next version so FreeBSD it can be compiled on FreeBSD without the need to google
-
Can you please check that latest SQLite amalgamation (http://www.sqlite.org/2013/sqlite-amalgamation-3080200.zip) compiles on FreeBSD 9.2? If yes, I'll just replace current version with latest one.
Best regards,
Victor -
-
Yes, it's what I was interested in. Thank you!
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login