comp.lang.ada
 help / color / mirror / Atom feed
From: Hans Petter Ladim <hanslad@gmail.com>
Subject: Linking problem in GPS 2011
Date: Fri, 21 Oct 2011 12:41:55 -0700 (PDT)
Date: 2011-10-21T12:41:55-07:00	[thread overview]
Message-ID: <5140065e-51a7-446d-8b86-13bd59b92bde@x7g2000yqn.googlegroups.com> (raw)

Hello,
I want to use GPS 2011 GPL edition from Adacore on my Linux Mint based
on debian.
I have installed GPS with the doinstall command using the default
install settings all the way.
I have also installed libc6-dev with apt-get install libc6-dev.
The problem is that the project in GPS will not link.
The error from the GPS output is:

gnatmake -d -P/home/hp/gpsproject/pwm/pwm.gpr
gnatbind -I- -x /home/hp/gpsproject/pwm/test_pwm.ali
gnatlink /home/hp/gpsproject/pwm/test_pwm.ali -o /home/hp/gpsproject/
pwm/test_pwm
/usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/ld: crt1.o: No such
file: No such file or directory
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/gnat/bin/gcc
gnatmake: *** link failed.

The  command: readlink -f ld gives /home/hp/ld.
But I also find (as given i the error above) ld in /usr/gnat/libexec/
gcc/x86_64-pc-linux-gnu/4.5.3/ld

I am new toboth Ada and Linux so this may be a very simple problem!
I hope my information about the problem was suffcient.

Thanks in advance!

HP



             reply	other threads:[~2011-10-21 19:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21 19:41 Hans Petter Ladim [this message]
2011-10-21 20:35 ` Linking problem in GPS 2011 Ludovic Brenta
2011-10-22 10:52   ` Hans Petter Ladim
2011-10-22 11:05     ` Pascal Obry
2011-10-22 12:57     ` Ludovic Brenta
2011-10-22 13:22       ` Simon Wright
2011-10-22 13:32         ` Pascal Obry
2011-10-22 13:31       ` Pascal Obry
2011-10-22 10:57   ` Pascal Obry
2011-10-24 10:47     ` Alex R.  Mosteo
2011-10-31 20:50       ` Hans Petter Ladim
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox