<div>hai....</div>
<div> </div>
<div> I am testing openswan2.4.4 using uml.i am using 2<font size="2">.4.20-8custom kernel.</font>i have used following files for uml testing....</div>
<div>(1)<font size="2">linux-2.4.19.tar.gz</font></div>
<div><font size="2">(2)<font size="2">uml-patch-2.4.19-28.bz2</font></font></div>
<div><font size="2">(3)umlswanroot-16.1.tar.gz</font></div>
<div><font size="2">(4)uml_utilities_20040114.tar.gz</font></div>
<div><font size="2">(5)tcpdump-3.8.3.tar</font></div>
<div><font size="2">(6)openswan-2.4.4.tar.gz</font></div>
<div><font size="2">While doing "sh make-uml.sh", it is giving following error...</font></div>
<div><font size="2">"<font size="2">
<p>gcc -Wl,-T,arch/um/link.ld -static -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \</p>
<p>-o linux arch/um/main.o vmlinux.o -L/usr/lib -lutil</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x2): In function `__libc_csu_init':</p>
<p>: undefined reference to `__preinit_array_end'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x9): In function `__libc_csu_init':</p>
<p>: undefined reference to `__preinit_array_start'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x1f): In function `__libc_csu_init':</p>
<p>: undefined reference to `__preinit_array_start'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x2e): In function `__libc_csu_init':</p>
<p>: undefined reference to `__init_array_end'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x33): In function `__libc_csu_init':</p>
<p>: undefined reference to `__init_array_start'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x47): In function `__libc_csu_init':</p>
<p>: undefined reference to `__init_array_start'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x5a): In function `__libc_csu_fini':</p>
<p>: undefined reference to `__fini_array_end'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x5f): In function `__libc_csu_fini':</p>
<p>: undefined reference to `__fini_array_start'</p>
<p>/usr/lib/libc.a(elf-init.o)(.text+0x7b): In function `__libc_csu_fini':</p>
<p>: undefined reference to `__fini_array_start'</p>
<p>collect2: ld returned 1 exit status</p>
<p>make: *** [linux] Error 1"</p>
<p>My "umlsetup.sh" is "</p><font size="2">
<p>UMLPREFIX=/home/nirmala/uml</p></font><font size="2">
<p>POOLSPACE=$UMLPREFIX/umlbuild</p><font size="2">
<p>KERNPOOL=$UMLPREFIX/kernel/linux-2.4.19</p><font size="2">
<p>NATTPATCH=true</p><font size="2">
<p>NONINTPATCH=none</p><font size="2">
<p>KERNEL_LINUS2_4_SRC=$KERNPOOL</p><font size="2">
<p>UMLPATCH=$UMLPREFIX/kernel/uml-patch-2.4.19-28.bz2</p><font size="2">
<p>BASICROOT=$UMLPREFIX/umlrootfs/root-16.1</p><font size="2"><font size="2">
<p>SHAREDIR=$BASICROOT/usr/share</p><font size="2">
<p>REGULARHOSTS='sunrise sunset nic carrot beet sec pole'</p>
<p>OPENSWANHOSTS='east west japan road north'</p>
<p># tell system location of special tcpdump, if any</p>
<p>TCPDUMP="/usr/sbin/tcpdump"</p>
<p>REGRESSRESULTS=$UMLPREFIX/results</p>
<p># we always use OBJ directories for UML builds.</p>
<p>USE_OBJDIR=true export USE_OBJDIR</p>
<p># comment this out to signify that you've customized this script</p>
<p>#echo "please create a umlsetup.sh" ; exit 99 "</p>
<p>I have also attached the error file and umlsetup.sh file with this mail....</p>
<p>Can anyone tell me whats wrong in this?????</p>
<p>our linux is "<font size="2">Linux lac 2.4.20-8custom #2 Tue Oct 17 12:49:27 IST 2006 i686 i686 i386 GNU/Linux".</font></p>
<p>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....</p>
<p>Thanks in advance!!!!</p>
<p>Regards,</p>
<p>Nirmala</p></font></font></font></font></font></font></font></font></font></font></font></font></div>