From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yun-Fong Loh Date: Sat, 12 Jul 2003 21:53:41 -0700 Subject: [U-Boot-Users] Re: Cannot compile u-boot under Mandrake 9.1 In-Reply-To: References: Message-ID: <3F10E5D5.3010806@edgewaternetworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de John, > gcc -Wall -pedantic -O -I/opt/powerpc/include -o ^^^ this is your problem > astest astest.o error.o -L/opt/powerpc/lib -lbfd > -liberty > /usr//bin/ld: cannot find -lbfd > collect2: ld returned 1 exit status > make[2]: *** [astest] Error 1 Try defining CROSS_COMPILE environment variable with the prefix of your cross compilation tools, e.g.: make CROSS_COMPILE=powerpc-linux- Yun