This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building GNAT: Error: undefined reference to `__gnat_rcheck_CE_Explicit_Raise'


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]