Building GNAT: Error: undefined reference to `__gnat_rcheck_CE_Explicit_Raise'

Patrick Herbst paherbst@gmail.com
Wed Dec 12 16:33:00 GMT 2012


Hello,

I'm using adacore gpl gnat 4.5.4 to build gcc gnat 4.7.2.  I'm just
trying to build it for the host system.

./configure --prefix=<somewhere>/gnat  --enable-languages=ada,c
./make

once it gets to
make[3]: Entering directory `./gcc'

it will attempt to run
gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wc++-compat -fno-common -DHAVE_CONFIG_H -static-libgcc  -o gnat1
[........]

which errors out with
ada/a-except.o: In function `ada__exceptions__exception_message':
./gcc/../../gcc-4.7.2/gcc/ada/a-except.adb:609: undefined reference to
`__gnat_rcheck_CE_Explicit_Raise'

it repeats that error for multiple functions.

anyone have any tips or suggestions??


Thanks!



More information about the Gcc-help mailing list