Thanks for the reply greg,
   
  >>But looking again at the final boot error message, it is looking
>>for libcrypt.so. Is that actually being installed into you root filesystem? 
>>Check romfs/lib in your build tree.

  libcrypt.so is present in the romfs/lib.  
   
  Ganesh
  
Greg Ungerer <[EMAIL PROTECTED]> wrote:
  Hi Ganesh,

Ganesh Kumar wrote:
> Thanks for the reply Greg.
> 
> >>>>The snapgear-3.5 source package doesn't contain glibc, so what process
> did you follow to add it for the compilation?
> 
> I dumped glibc on the snapgear root, created a seperate directory inside 
> it called "compile", configured glibc from that 
> directory( configuration script below) and edited the makefile in the 
> lib directory to point to glibc/compile when compiling the library. then 
> edited the glibc/compile Makefile to respond to romfs: command .

Ok, sounds you covered the bases then.


> One thing I noticed is that glibc is making use of /usr/bin/install to 
> install to the romfs. wheras uclibc is using romfsinst.sh script within 
> the snapgear/tools. 

I don't think that will be a problem.


> Could you please help in pointing out the process to be followed. Many 
> thanks.
> 
> I configured glibc using the following script
> 
> export CC="arm-linux-gcc -mbig-endian"
> export CFLAGS="-mhard-float -g -O2"
> export CPPFLAGS="-mhard-float -g -O2"
> export CXXFLAGS="-mhard-float -g -O2"
> ../configure --enable-add-ons=linuxthreads --build=i386-redhat-linux 
> --host=arm-linux --target=arm-linux --prefix=/root/snapgear/romfs 
> --with-headers=/root/snapgear/linux-2.4.x/include --enable-omitfp 
> --with-binutils=/root/snapgear/tools

I don't see any problems in there.

But looking again at the final boot error message, it is looking
for libcrypt.so. Is that actually being installed into you
root filesystem? Check romfs/lib in your build tree.

Regards
Greg




> */Greg Ungerer /* wrote:
> 
> Hi Ganesh,
> 
> Ganesh Kumar wrote:
> > Apologies for the old post in the wrong thread. My email reader
> mixed it
> > up. Reposting again.
> >
> > I am trying to compile snapgear uclinux 3.5 with glibc 2.3 for
> IXP 425.
> 
> The snapgear-3.5 source package doesn't contain glibc, so what process
> did you follow to add it for the compilation?
> 
> (Yes, there are hooks in that source to build it, but the process
> to make it work right is not as trivial as just dumping the glibc
> source at the top level of the package...)
> 
> 
> > I have successfully compiled and created the libraries but I am
> getting
> > the following error while loading.
> >
> > NET4: Linux TCP/IP 1.0 for NET4.0
> > IP Protocols: ICMP, UDP, TCP
> > IP: routing cache hash table of 512 buckets, 4Kbytes
> > TCP: Hash tables configured (established 2048 bind 4096)
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> > NetWinder Floating Point Emulator V0.97 (double precision)
> > RAMDISK: Compressed image found at block 0
> > Freeing initrd memory: 8192K
> > VFS: Mounted root (ext2 filesystem) readonly.
> > Freeing init memory: 232K
> > /bin/i: error while loading shared libraKernel panic: Attempted
> to kill
> > init!
> > ries: libcrypt.socannot open shared object fillibcrypt.soNo such
> file
> > or direcr
> >
> > Please help in solving this error. I have verified the symlinks
> and path
> > in romfs/lib.
> 
> Obviously it is related to the library and application build.
> But without knowing exactly how you generated it it is difficult to
> give any more guidance.
> 
> Regards
> Greg
> 
> 
> 
> 
> ------------------------------------------------------------------------
> Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
> Secure Computing Corporation PHONE: +61 7 3435 2888
> 825 Stanley St, FAX: +61 7 3891 3630
> Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 
> 
> ------------------------------------------------------------------------
> Pinpoint customers 
> who 
> are looking for what you sell.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev

-- 
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to