[Openswan Users] Uml Testing Error!!!
Nirmala Balu
nirmala2005 at gmail.com
Tue Oct 17 05:11:45 EDT 2006
hai....
I am testing openswan2.4.4 using uml.i am using 2.4.20-8custom kernel.i
have used following files for uml testing....
(1)linux-2.4.19.tar.gz
(2)uml-patch-2.4.19-28.bz2
(3)umlswanroot-16.1.tar.gz
(4)uml_utilities_20040114.tar.gz
(5)tcpdump-3.8.3.tar
(6)openswan-2.4.4.tar.gz
While doing "sh make-uml.sh", it is giving following error...
"
gcc -Wl,-T,arch/um/link.ld -static -Wl,--wrap,malloc -Wl,--wrap,free
-Wl,--wrap,calloc \
-o linux arch/um/main.o vmlinux.o -L/usr/lib -lutil
/usr/lib/libc.a(elf-init.o)(.text+0x2): In function `__libc_csu_init':
: undefined reference to `__preinit_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x9): In function `__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x1f): In function `__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x2e): In function `__libc_csu_init':
: undefined reference to `__init_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x33): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x47): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x5a): In function `__libc_csu_fini':
: undefined reference to `__fini_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x5f): In function `__libc_csu_fini':
: undefined reference to `__fini_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x7b): In function `__libc_csu_fini':
: undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status
make: *** [linux] Error 1"
My "umlsetup.sh" is "
UMLPREFIX=/home/nirmala/uml
POOLSPACE=$UMLPREFIX/umlbuild
KERNPOOL=$UMLPREFIX/kernel/linux-2.4.19
NATTPATCH=true
NONINTPATCH=none
KERNEL_LINUS2_4_SRC=$KERNPOOL
UMLPATCH=$UMLPREFIX/kernel/uml-patch-2.4.19-28.bz2
BASICROOT=$UMLPREFIX/umlrootfs/root-16.1
SHAREDIR=$BASICROOT/usr/share
REGULARHOSTS='sunrise sunset nic carrot beet sec pole'
OPENSWANHOSTS='east west japan road north'
# tell system location of special tcpdump, if any
TCPDUMP="/usr/sbin/tcpdump"
REGRESSRESULTS=$UMLPREFIX/results
# we always use OBJ directories for UML builds.
USE_OBJDIR=true export USE_OBJDIR
# comment this out to signify that you've customized this script
#echo "please create a umlsetup.sh" ; exit 99 "
I have also attached the error file and umlsetup.sh file with this mail....
Can anyone tell me whats wrong in this?????
our linux is "Linux lac 2.4.20-8custom #2 Tue Oct 17 12:49:27 IST 2006 i686
i686 i386 GNU/Linux".
i searched in net for this error...i didnt get....It will be helpful for me
if u tell what to change(configuration) or if files (linux,uml
patch,openswan,uml-utilities etc) combination used is wrong....
Thanks in advance!!!!
Regards,
Nirmala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20061017/778c9128/attachment-0001.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: report
Url: http://lists.openswan.org/pipermail/users/attachments/20061017/778c9128/attachment-0001.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umlsetup.sh
Type: application/x-sh
Size: 2926 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/users/attachments/20061017/778c9128/attachment-0001.sh
More information about the Users
mailing list