Re: [mpatrol] I have problem on MIPS architecture.
--- joongheemoon <
despair52@...> wrote:
>
> Hello!
> I'm trying to use mpatrol in MIPs architecture. but
> I have some
> problems. I am finding some advices.
>
> 1. I built mpatrol following the manual. but I fould
> bfd.h was not
> fould building makefile. So, I add the
> path(/usr/include in my linux)
> to the makefile and I could build it. It was occured
> only in mipsel-
> linux-gcc compiling not gcc. Is it ok?
>
> 2. I compiled test source like this after setting
> LD_LIBRARY_PATH
> environment variable.
>
> [root@STYX00 fail]# mipsel-linux-gcc -
> I/home/samba/util/mpatrol/local/include test1.c -
> L/home/samba/util/mpatrol/local/lib -lmpatrol -lbfd
> -liberty
Check it up the env for LD_LIBRARY_PATH, this may be
disturbed. This libraries -lbfd and -liberty are
supposed to be picked up from /usr/local/lib.
Just print the env variable for LD_LIBRARY_PATH and
confirm, is it also refres to the above mentioned
path.
Or check it up these libraries are really available in
yr OS.
>
> but following message appeared.
>
> [root@STYX00 fail]# mipsel-linux-gcc -
> I/home/samba/util/mpatrol/local/include test1.c -
> L/home/samba/util/mpatrol/local/lib -lmpatrol -lbfd
> -liberty
>
/usr/tools/lib/gcc-lib/mipsel-linux/2.96/../../../../mipsel-
> linux/bin/ld: cannot find -lbfd
> collect2: ld returned 1 exit status
>
> If you give some advices, It will be a great help to
> me!
> Thank you!
>
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com