Experimental Physics and Industrial Control System
|
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
I use gcc version 3.3 on MacOSX 10.4.5.Have you tried
sudo /usr/sbin/gcc_select 3.3
and run EPICS make?
Noboru Yamamoto
EPICS group/J-PARC control group
KEK, JAPAN
- References:
- Problem building alh on Mac OSX Burkhard Kolb
- Navigate by Date:
- Prev:
Problem building alh on Mac OSX Burkhard Kolb
- Next:
Re: Problem building alh on Mac OSX Thomas Pelaia II
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Problem building alh on Mac OSX Burkhard Kolb
- Next:
Re: Problem building alh on Mac OSX Thomas Pelaia II
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|