EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem building alh on Mac OSX
From: Burkhard Kolb <[email protected]>
To: Thomas Pelaia II <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Date: Fri, 10 Mar 2006 15:08:53 +0100
Thomas Pelaia II wrote:
Burkhard,

I had no problem building alh using gcc 4.0.1. I notice that you are using gcc 4.0.0. I am also running Mac OS X 10.4.5, but with XCode 2.2.1. What version of XCode are you using?

-tom




On Mar 10, 2006, at 7:05 AM, Burkhard Kolb wrote:


I just upgraded my Mac to 10.4.5, and started a new EPICS build.
Base 3.14.8.2 builds just fine, medm too. But with alh I get a compiler error:
[kp1pc10:extensions/src/alh] bkolb% make
make -C O.darwin-ppc -f ../Makefile.Host T_A=darwin-ppc BUILD_TYPE=Host install
gcc -ansi -pedantic -D_POSIX_C_SOURCE=199506L -O3 -Wall -Wtraditional -Wmissing-prototypes -Wstrict-prototypes -DFLDNAME_SZ=4 -fPIC -D_REENTRANT -DUNIX -no-cpp-precomp -I. -I.. -I../os/Darwin -I../os/default -I/sw/include -I/usr/X11R6/include -I../../../include/os/Darwin -I../../../include -I/epics/base-3.14.8.2/include/os/Darwin -I/epics/base-3.14.8.2/include -I/sw/include -I/usr/X11R6/include -c ../alCaCommon.c
In file included from /epics/base-3.14.8.2/include/alarm.h:22,
from ../alCaCommon.c:29:
/epics/base-3.14.8.2/include/shareLib.h:138:2: warning: suggest not using #elif in traditional C


...snip

../alCaCommon.c: In function 'nextGroupChannel':
../alCaCommon.c:73: warning: traditional C rejects ISO C style function definitions
../alCaCommon.c: In function 'alCaCancel':
../alCaCommon.c:121: warning: traditional C rejects ISO C style function definitions
../alCaCommon.c: In function 'alSetNotConnected':
../alCaCommon.c:150: warning: traditional C rejects ISO C style function definitions
../alCaCommon.c: In function 'alPutGblAckT':
../alCaCommon.c:183: warning: traditional C rejects ISO C style function definitions
../alCaCommon.c: In function 'alProcessCA':
../alCaCommon.c:209: warning: traditional C rejects ISO C style function definitions
../alCaCommon.c: In function 'registerCA':
../alCaCommon.c:217: warning: traditional C rejects ISO C style function definitions
../alCaCommon.c:233: warning: traditional C rejects string constant concatenation
../alCaCommon.c:242: warning: traditional C rejects string constant concatenation
../alCaCommon.c: At top level:
../alCaCommon.c:278: warning: function declaration isn't a prototype
../alCaCommon.c: In function 'alCaCancel':
../alCaCommon.c:121: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[1]: *** [alCaCommon.o] Error 1
make: *** [install.darwin-ppc] Error 2


[kp1pc10:extensions/src/alh] bkolb% gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)


Any clue?
    Burkhard

Well,that was it, I had Xcode 2.1.
I upgraded to Xcode.2.2.1, which include gcc 4.0.1, this solved the problem.
Many thanks,
	Burkhard


References:
Problem building alh on Mac OSX Burkhard Kolb
Re: Problem building alh on Mac OSX Thomas Pelaia II

Navigate by Date:
Prev: Re: Problem building alh on Mac OSX Thomas Pelaia II
Next: Re: segmentation fault in ca_task_initialize running in Linux Margaret Votava
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem building alh on Mac OSX Thomas Pelaia II
Next: Releasing EPICS driver for Libera Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·