[tomoyo-dev-en 353] Re: how to port the TOMOYO to a embedded device?

Back to archive index

casinee app appca****@gmail*****
Mon Jun 18 17:17:33 JST 2012


2012/6/18 shawn <shawn****@gmail*****>:
> On Mon, 2012-06-18 at 15:12 +0800, casinee app wrote:
>> I set up  the directory /home/casinee/develop/rootfs  as  a NFS root
>> filesystem for embedded system.
>
> I know nothing about cross-compiling it, I natively compiled it when i
> compiled it. Did the Debian package work?
I download the tomoyo-tools_2.2.0-20100225-1_armel.deb from the site
you gave me. But how can i install it?

>>
>> >>
>> >> But when i execute the commmand #make install , the output is :
>> >
>> > you need to install libncurses-dev
>> >
>> The host system already installed libncurses-dev.
>>
>> > oh i see below you say you have that file.-----you probably need to
>> > re-run ./configure
>> whre to run this command?
>> >
>> >> casinee at ubuntu:~/develop/tomoyo-tools$ make
>> >> arm-linux-gnueabi-gcc -Wall -O2 -Wno-pointer-sign -o tomoyotools
>> >> tomoyotools.src/*.c -lncurses -DCOLOR_ON
>> >> In file included from tomoyotools.src/checkpolicy.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/domainmatch.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/editpolicy.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/editpolicy_color.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/editpolicy_keyword.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/editpolicy_offline.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/editpolicy_optimizer.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/findtemp.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/ld-watch.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/loadpolicy.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/pathmatch.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/patternize.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/pstree.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/readline.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/setlevel.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/setprofile.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> In file included from tomoyotools.src/tomoyotools.c:11:
>> >> tomoyotools.src/tomoyotools.h:24: fatal error: curses.h: No such file
>> >> or directory
>> >> compilation terminated.
>> >> make: *** [tomoyotools] Error 1
>> >>
>> >> i had checked the /usr/include , the file curses.h is here.
>> >> >>
>> >> >> 2012/6/18 Shawn <shawn****@gmail*****>:
>> >> >> >
>> >> >> > On Sun, Jun 17, 2012 at 5:59 AM, casinee app <appca****@gmail*****> wrote:
>> >> >> >>
>> >> >> >> Hi,
>> >> >> >> i want to port the TOMOYO to a embedded device. The kernel i used is
>> >> >> >> 2.6.30. I have compiled the kernel to support the TOMOYO.
>> >> >> >> Can anyone guide me  to do the next steps. Thanks.
>> >> >> >
>> >> >> > http://tomoyo.sourceforge.jp/documentation.html.en
>> >> >> >
>> >> >> > I've had success using emdebian with TOMOYO. Debian has all the user-space
>> >> >> > tools packaged, along with kernels that support tomoyo, making your life
>> >> >> > easier.
>> >> >
>> >> > --
>> >> > -Shawn Landden
>> >> >
>> >> > _______________________________________________
>> >> > tomoyo-dev-en mailing list
>> >> > tomoy****@lists*****
>> >> > http://lists.sourceforge.jp/mailman/listinfo/tomoyo-dev-en
>> >
>> >
>> > --
>> > -Shawn Landden
>> >
>
>
> --
> -Shawn Landden
>




More information about the tomoyo-dev-en mailing list
Back to archive index