[ELDK] Using mpatrol library with ELDK-4.1

Robert McCullough rob at promessdev.com
Tue Nov 11 22:45:33 CET 2008


Hi,

Has anyone used the mpatrol library
(http://www.cbmamiga.demon.co.uk/mpatrol/) with ELDK-4.1?

I try to compile and link the test1.c example that comes with mpatrol and
get the following linking error.

[rob at localhost fail]$ ppc_6xx-g++ -I/opt/eldk-4.1/ppc_6xx/usr/include
test1.c -L/eldk-4.1/ppc_6xx/usr/lib -lmpatrol -lbfd -liberty
/opt/eldk-4.1/usr/../ppc_6xx/usr/lib/libbfd.a(cache.o): In function
`bfd_open_file':
: undefined reference to `unlink_if_ordinary'
collect2: ld returned 1 exit status

After googling "undefined reference to unlink_if_ordinary", I found this
reference to a similar problem 
http://gcc.gnu.org/ml/gcc-help/2007-08/msg00036.html 



More information about the eldk mailing list