Topic : linker error

Forum : ARM

Original Post
Post Information Post
May 16, 2009 - 4:35pm
Guest

Hello,

I am using Ride and the Gnu compiler for several str7 based projects and use 2 computers for that
on one off them i installed the latest version of Ride and Rkit for Arm.

On this computer i now get the following linker error when i build one of the projects :

Running: LD
\"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=arm7tdmi -Wl,-T -Xlinker "C:\proj\hardware\Sensor Cal Unit\Firmware\SensorCalibrationUnit.elf.ld" -u _start -Wl,-static -Wl,--gc-sections -nostartfiles -Wl,-Map -Xlinker "C:\proj\hardware\Sensor Cal Unit\Firmware\SensorCalibrationUnit.map"
c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.3/../../../../arm-none-eabi/lib\libc.a(lib_a-isattyr.o): In function `_isatty_r':
isattyr.c:(.text+0x18): undefined reference to `_isatty'
collect2: ld returned 1 exit status

To check if i broke something by installing other programs i installed the new versions of ride and rkit in a new
windows installation under vmware and tried again but i got the same error.

I then copied the directory 'C:\Program Files\Raisonance\Ride\arm-gcc\arm-none-eabi\lib' from the working machine
to the new installation and that solved the error.
The system with the working installation seems to have version 4.2.1 of the gnu tools. since that's the path in one of the
directories.

Is this an error in the standard libraries or am i overlooking a configuration mismatch between the two systems ??

thanks for your help.
Ed van Rijn

Replies
Post Information Post
+1
0
-1
May 25, 2009 - 10:38am
Raisonance Support Team

Hi,

This problem might indeed be related to the new version of the libraries that came with the new version of the compiler... and maybe not. ;(

Can you please send us a complete project showing the problem? We will need all sources, includes, project files, linker script, etc.

Best Regards,

Vincent

+1
0
-1
May 25, 2009 - 8:10pm
Guest

Vincent,

I zipped the complete directory with the project files you need to duplicate the problem.

I did not see a way to upload the zip file to this forum so i mailed them to the support email addres.

If you don't get them please let me know, then i will use sendspace.com to get them to you

kind regards,

Ed van Rijn
Tradinco Instruments

+1
0
-1
May 25, 2009 - 10:17pm
Guest

Vincent,

Just for your information:

I updated one of my systems with the new versions of RKIT and RIDE.

The versions i now have are RIDE : 7.20.09.0139 and Rkit : 1.20.09.0140 but these also give the build error.

Copying back the libraries of the older version stll solves the problems.

Kind regards,

Ed van Rijn

+1
0
-1
May 26, 2009 - 9:51am
Raisonance Support Team

Hi,

Thanks for the information. I received your email and I will look at it today.

When you say "Copying back the libraries of the older version stll solves the problems.", which files are ou refering to? There are many libraries in Ride...

Best Regards,

Vincent

+1
0
-1
May 27, 2009 - 9:15pm
Guest

Vincent,

With the libraries of the older version i meant the contents of the directory 'C:\Program Files\Raisonance\Ride\arm-gcc\arm-none-eabi\lib' from the working machine at my office.

I will check tomorrow what Ride says about the Rkit version that is installed on that machine and will let you know.

Regards,

Ed van Rijn

+1
0
-1
May 28, 2009 - 8:54am
Guest

Vincent,

I checked the verison of Ride and RKit that are installed on the office machine
(the other one is a portable that i use when i am working at home or at customers sites)

It has : Ride - 7.16.0000
Rkit - 1.04.0001

I hope that this helps you.

Kind regards,

Ed van Rijn