|
From: | Allan Ference |
Subject: | Re: [Csnippets-bugs] Build fails in FreeBSD 9.1 and NetBSD 6.0.1 |
Date: | Mon, 5 Aug 2013 20:05:09 +0200 |
Hi, a few weeks ago I did a clone from Sahvanna repo and tried to build
in both FreeBSD and NetBSD systems, I had to tweak build.sh a little so
it works in these two systems but build still fails. Let me know if you
like patch attachments or any other form to send you the small changes I
did in build.sh and any future contribution.
FreeBSD fails with cc1: error: unrecognized command line option
"-Wno-unused-result" at 11% build when trying to compile buffer.c and
asprintf.c I'm sure this one has easy fix but I'm not familiar with
cmake yet so I couldn't find where the -Wno-unused-result is set in the
CmakeList.txt files.
GCC is 4.2.1 in a vanilla FreeBSD 9.1 install
NetBSD GCC 4.5 build stops at 17% with following errors:
/arpa/af/e/ecelis/Software/src/csnippets/src/event.c:17:3: error:
redefinition o
f typedef ‘event_t’
/arpa/af/e/ecelis/Software/src/csnippets/src/../csnippets/event.h:12:22:
note: p
revious declaration of ‘event_t’ was here
/arpa/af/e/ecelis/Software/src/csnippets/src/buffer.c:10:3: error:
redefinition of typedef ‘buffer_t’
/arpa/af/e/ecelis/Software/src/csnippets/src/../csnippets/buffer.h:8:23:
note: p
revious declaration of ‘buffer_t’ was here
--
SDF Public Access UNIX System
http://ecelis.sdf.org - gopher://sdf.org/1/users/ecelis
+1 206-299-2120 ext.1106 - C*Net 1-333-1106
[Prev in Thread] | Current Thread | [Next in Thread] |