linker problem installing rtems4.10

Daniel_M medinad at unican.es
Mon Nov 9 19:06:22 UTC 2009


Hi Alan, hi Joel,

thank you for that quick answer. It compile now without any problem
removing the cpukit package. Thank you.

Now I have another error on execution, but I think the problem must be
that Joel had said. Although I had to fix some libraries to be able to
compile. And maybe this is the problem.

ln -s libpython2.6.so.1.0 libpython2.4.so.1.0
ln -s libexpat.so.1.5.2 libexpat.so.0    

Regards.
Daniel M.

------------------8<----------------------------
daniel at dualcore:~/workspace/rtems/pc586$ i386-rtems4.10-gdb `find .
-name hello.exe`
i386-rtems4.10-gdb: Symbol `PyBool_Type' has different size in shared
object, consider re-linking
i386-rtems4.10-gdb: Symbol `PyList_Type' has different size in shared
object, consider re-linking
i386-rtems4.10-gdb: Symbol `PyInt_Type' has different size in shared
object, consider re-linking
i386-rtems4.10-gdb: Symbol `PyFloat_Type' has different size in shared
object, consider re-linking
i386-rtems4.10-gdb: Symbol `PyUnicode_Type' has different size in shared
object, consider re-linking
i386-rtems4.10-gdb: Symbol `PyLong_Type' has different size in shared
object, consider re-linking
i386-rtems4.10-gdb: Symbol `PyString_Type' has different size in shared
object, consider re-linking
sys:1: RuntimeWarning: Python C API version mismatch for module gdb:
This Python has API version 1013, module gdb has version 1012.
GNU gdb (GDB) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-redhat-linux-gnu
--target=i386-rtems4.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/daniel/workspace/rtems/pc586/i386-rtems4.10/c/pc586/testsuites/samples/hello/hello.exe...done.
Segmentation fault
daniel at dualcore:~/workspace/rtems/pc586$



Alan Cudmore wrote:
> Hi Daniel,
> I just had this problem 1 hour ago!
>
> If you have a "cpukit" RPM installed, uninstall it and it should
> compile fine.
>
> I'm on CentOS 5 and I installed all of the RPMs for RTEMS 4.10 ( m68k
> target ) including the cpukit RPM. That RPM is much older than the
> current CVS trunk, and I think the linker was looking at those
> libraries first.
> When I removed that RPM, I was able to build the RTEMS CVS Trunk.
>
> Alan
>
> On Nov 9, 2009, at 1:10 PM, Daniel_M wrote:
>
>> Hello,
>>
>> I am new with rtems and I was trying to run the quick start example.
>> I am on an i386 pc with Ubuntu 9.04 and I installed tools as debs
>> (version 4.9.99.0 aka 9.10).
>>
>> I configure it like 'Example Application Compiling'
>> <http://www.rtems.com/wiki/index.php/Example_Application_Compiling>
>> I export the $PATH. execute bootstrap and create and configure a new
>> folder. But when I try to compile it I get the error copied down.
>>
>> It is mainly a linker problem, that find 'multiple definition' of some
>> functions. I try to find it, but I cannot find the calls to the
>> functions in the file init.c. And I fell quite lost in the rtems file
>> structure.
>>
>> Thank you for help.
>> Daniel M.
>>
>> -- 
>> ------------------------------------------------------------------------------
>>
>> - Grupo de Computadores y Tiempo Real                www.ctr.unican.es
>> - Dpto. de Electrónica y Computadores
>> - Universidad de Cantabria                           www.unican.es
>> - Avda. de los Castros s/n 39005-Santander (Spain)
>> ------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>

-- 
------------------------------------------------------------------------------
- Grupo de Computadores y Tiempo Real                www.ctr.unican.es
- Dpto. de Electrónica y Computadores
- Universidad de Cantabria                           www.unican.es
- Avda. de los Castros s/n 39005-Santander (Spain)
------------------------------------------------------------------------------




More information about the users mailing list