csnippets-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Csnippets-bugs] Build fails in FreeBSD 9.1 and NetBSD 6.0.1


From: Ernesto Celis
Subject: [Csnippets-bugs] Build fails in FreeBSD 9.1 and NetBSD 6.0.1
Date: Mon, 5 Aug 2013 12:37:57 -0500 (CDT)
User-agent: Alpine 2.02 (NEB 1266 2009-07-14)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]