From: "Kevin Coffman" Subject: Re: Cross compilation of nfs-utils-1.0.9.tar.gz for mips architecture. Date: Mon, 20 Nov 2006 10:37:08 -0500 Message-ID: <4d569c330611200737y25120703gac36a534471836a2@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1GmBD9-0000fn-Uo for nfs@lists.sourceforge.net; Mon, 20 Nov 2006 07:37:32 -0800 Received: from ug-out-1314.google.com ([66.249.92.169]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GmBD5-0007XA-E7 for nfs@lists.sourceforge.net; Mon, 20 Nov 2006 07:37:33 -0800 Received: by ug-out-1314.google.com with SMTP id z38so1176628ugc for ; Mon, 20 Nov 2006 07:37:17 -0800 (PST) To: "Padmakiran K. S." In-Reply-To: List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net Padmakiran, I think this patch: http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/1.0.10-3/nfs-utils-1.0.10-003-autotools_touchups.dif fixes that problem. It hasn't made it upstream yet... Please let me know if it helps or not. K.C. On 11/20/06, Padmakiran K. S. wrote: > Hi all, > > I am trying to enable NFS support enabled for Monta Vista linux 2.6.10 for > mips architecture. I was not able to cross-compile the nfs-utils package > that was downloaded from sourceforge.net site. > > I tried setting (env variable) CC to my cross compiler i.e > mips64_octeon_be-gcc and tried the configure script as mentioned below. > --host option of configure script was set to the output of config.guess > script. > > ./configure --host=i686-pc-linux-gnu > > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > appending configuration tag "F77" to libtool > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for g77 option to produce PIC... -fPIC > checking if g77 PIC flag -fPIC works... yes > checking if g77 static flag -static works... yes > checking if g77 supports -c -o file.o... yes > checking whether the g77 linker > (/auto/itasca/tools/packages/montavisa/mvl402/montavista/pro/devkit/mips64/octeon_be/mips64octeon-montavista-linux/bin/ld) > supports shared libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for i686-pc-linux-gnu-ar... (cached) i686-pc-linux-gnu-ar > checking for i686-pc-linux-gnu-ld... > /auto/itasca/tools/packages/montavisa/mvl402/montavista/pro/devkit/mips64/octeon_be/mips64octeon-montavista-linux/bin/ld > checking for ANSI C header files... (cached) yes > checking for GNU libc2... yes > checking for BSD signal semantics... configure: error: cannot run test > program while cross compiling > > > My build keeps failing for BSD signal semantics. Is there any method of > suppressing this check in the configure script. > Any link or url elaborating the cross compilation for nfs-utils package > would also be of great help. > > Is this the right method to cross compile nfs-utils package ? Currently i'm > using the package nfs-utils-1.0.9.tar.gz . > > Thanks and Regards, > Padmakiran > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs