delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/06/22/12:04:17

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=e75SASmhQo2aMJIUd3xkUB1tDcevIjHMX84Ec29oKvY=;
b=NqerIQkYTXGQZeIgc3B6OKj0RKseV3To4flRQNxBBln1yiSHnjs4uF1W6hye5c1Gb/
+ePvDaZkgB0J5qHzql/Om+XCY7IjDRXVmeipxLbr58wdhs2Wp9RJYLGHeYwovz2rNKww
WFULgmYNYlHZ1XGaGLzD/IsGrPzH1L1Z6EmgNpAhN7Zrlm8kciYE0S1enWJgGw07Ah0s
N4poZ4Wfz23OSTEJWtgIO6r1CQeZkP62QczJ6EP5nW7euKpkiK5IgUuumEWi3nJl79eb
rFVFKY//0sJpUDco+WX6x/e5pmw8XaYfSuIQkH1LwLaYgIFAsD0DOM9eZNOBSx9KPlM3
Xx5Q==
MIME-Version: 1.0
X-Received: by 10.60.103.78 with SMTP id fu14mr16407504oeb.21.1403452994546;
Sun, 22 Jun 2014 09:03:14 -0700 (PDT)
Date: Sun, 22 Jun 2014 12:03:14 -0400
Message-ID: <CANtXPpj_eTa70imy2an9aYTzfm845b_mrb-WRU7OzgTw08Hksw@mail.gmail.com>
Subject: [geda-user] Building geda-gaf on Mac OS X 10.9 fails on scheme_object.x (also on FreeBSD?)
From: Charles Lepple <clepple AT gmail DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

Hi all,

Just upgraded one of my boxes to OS X 10.9, and I get the following
error when building geda-gaf 1.8.1:

######################################

/bin/sh ../../libtool --silent  --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../..  -DLOCALEDIR=\"/sw.mav/share/locale\"
-I./../include -I./../include/libgeda -I../.. -I/sw.mav/include
-I/include -Wall   -I/sw.mav/include -D_THREAD_SAFE
-I/sw.mav/include/glib-2.0 -I/sw.mav/lib/glib-2.0/include
-I/sw.mav/include/gtk-2.0 -I/sw.mav/include/glib-2.0
-I/sw.mav/lib/glib-2.0/include -Os -pipe -MT
libgeda_la-scheme_object.lo -MD -MP -MF
.deps/libgeda_la-scheme_object.Tpo -c -o libgeda_la-scheme_object.lo
`test -f 'scheme_object.c' || echo './'`scheme_object.c

In file included from scheme_object.c:2175:
./scheme_object.x:80:84: error: expected ')'
 scm_c_define_gsubr (s_translate_object_x, 3, 0, 0, (SCM (*)())
translate_object_x); ;

            ^
./scheme_object.x:79:21: note: to match this '('

 scm_c_define_gsubr (s_set_picture_data_vector_x,

                    ^
1 error generated.

######################################

Has anyone seen anything similar?

Lines 79 and 80 of scheme_object.x look like this:

 scm_c_define_gsubr (s_set_picture_data_vector_x,
 scm_c_define_gsubr (s_translate_object_x, 3, 0, 0, (SCM (*)())
translate_object_x); ;

So I can see why the compiler (clang, FWIW) doesn't like it.

Before anyone asks, yes, I'll be upgrading to geda-gaf 1.8.2, but
1.8.1 built properly on OS X 10.7, and there is a similar build
failure out there for 1.8.2 on FreeBSD:

https://www.mail-archive.com/freebsd-pkg-fallout AT freebsd DOT org/msg153732.html

So I'm just focusing on one issue at a time, and this would seem to be
common to both 1.8.1 and 1.8.2.

I have guile 1.8.8 installed via Fink. No errors from guile-1.8-snarf
(I can post the full build logs somewhere if needed).

$ gcc --version

Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1

Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)

Target: x86_64-apple-darwin13.2.0

Thread model: posix

(This is the default compiler that comes with Xcode 5.1.1 command line tools.)

-- 
- Charles Lepple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019