[Pkg-owncloud-maintainers] build ocsync & owncloud-client
Steven Chamberlain
steven at pyro.eu.org
Wed Sep 18 23:27:19 UTC 2013
On 00:04, Sandro Knauß wrote:
> /«PKGBUILDDIR»/src/std/c_private.h:74:19: error: expected identifier before
> numeric constant
> #define O_NOATIME 0
Hi Sandro,
This should help:
--- src/std/c_private.h.orig 2013-09-04 10:15:42.000000000 +0100
+++ src/std/c_private.h 2013-09-19 00:16:47.377848523 +0100
@@ -48,5 +48,7 @@
#define nlink_t int
#define getuid() 0
#define geteuid() 0
+#else
+#include <fcntl.h>
#endif
But it now fails with a different error:
/usr/bin/cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wmissing-format-attribute -D_GNU_SOURCE -D__STDC_FORMAT_MACROS=1 -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -O2 -g -DNDEBUG -Wl,-z,relro CMakeFiles/ocsync_client.dir/csync_client.c.o CMakeFiles/ocsync_client.dir/csync_auth.c.o -o ocsync ../src/libocsync.so.0.2.1 ../src/std/libcstdlib.a -lrt -ldl -lsqlite3 -lc -Wl,-rpath,/home/steven/ocsync-0.90.0/obj-x86_64-kfreebsd-gnu/src:
../src/libocsync.so.0.2.1: undefined reference to `__stack_chk_guard'
Regards,
--
Steven Chamberlain
steven at pyro.eu.org
More information about the Pkg-owncloud-maintainers
mailing list