Is there anyone ever cross compile open-iscsi for powerpc?

My system infomation:

cpu: powerpc(mpc8315)

linux kernel: 2.6.29-6

kernel source in /home/fufu/ltib-mpc8315erdb-20091019/rpm/BUILD/linux

cross compiler in
/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-e300c3-linux-gnu/bin/powerpc-e300c3-linux-gnu-gcc

and I crossed open-iscsi-2.0-872  like this:

#cd open-iscsi-2.0-872/

#make KSRC=/home/fufu/ltib-mpc8315erdb-20091019/rpm/BUILD/linux
KARCH=powerpc
CC=/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-e300c3-linux-gnu/bin/powerpc-e300c3-linux-gnu-gcc

error: in 'open-iscsi-2.0-872/utils/open-isns':
configure: error:cannot run c compiled programs.
If you meant to cross compile, use'--host',
.........

#cd open-iscsi-2.0-872/utils/open-isns/

#./configure  --host=ppc-linux
CC=/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-e300c3-linux-gnu/bin/powerpc-e300c3-linux-gnu-gcc

#cd open-iscsi-2.0-872/

 #make KSRC=/home/fufu/ltib-mpc8315erdb-20091019/rpm/BUILD/linux
KARCH=powerpc
CC=/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-e300c3-linux-gnu/bin/powerpc-e300c3-linux-gnu-gcc

In file included from server.c:9
security.h 10:25:error :openssl/evp.h:No such file or directory
.......

How correctly to cross compile open-iscsi-2.0-872 for powerpc?

Is possible to run open-iscsi on powerpc?  If possible, what things I need
to do?

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to