From: R T. <na...@us...> - 2008-04-15 13:17:07
|
The short version: I get the following errors when I add the bind package and the build fails... making all in /home/russell/svn/gumstix.1161/build_arm_nofpu/bind-9.3.1/lib/dns make[3]: Entering directory `/home/russell/svn/gumstix.1161/build_arm_nofpu/bind-9.3.1/lib/dns' cc -Os -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I/home/russell/svn/gumstix.1161/build_arm_nofpu/bind-9.3.1 -I. -Iinclude -I/home/russell/svn/gumstix.1161/build_arm_nofpu/bind-9.3.1/lib/dns/include -I../../lib/dns/include -I/home/russell/svn/gumstix.1161/build_arm_nofpu/bind-9.3.1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/nothreads/include -DUSE_MD5 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -o gen ./gen.c ./gen.c:1: error: bad value (armv5te) for -march= switch ./gen.c:1: error: bad value (xscale) for -mtune= switch as: unrecognized option `-Qy' The long version: (I'm new at building software on Linux, so forgive me if my terminology is a little off.) My setup: Ubuntu 7.10 Buildroot 1161 Steps: I run make on the 1161 version of buildroot. Everything works fine. I add the bind package. The build fails with the error above. I figure it has something to do with 'as', so I check: $ whereis as as: /usr/bin/as /usr/share/man/man1/as.1.gz $ as --version GNU assembler (GNU Binutils for Ubuntu) 2.18 Copyright 2007 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `i486-linux-gnu'. I do some Googling and figure out that buildroot should be using a different 'as', so I check: ~/svn/gumstix.1161/build_arm_nofpu/staging_dir/bin$ ./arm-linux-uclibc-as --version GNU assembler 2.17 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `arm-linux-uclibc'. Hmmm. The arm-linux-uclibc-as --help option does not show a -Qy option. Strangely enough, the Makefile doesn't even show a -Qy option being passed to 'cc'/'as'. The output of make shows that /lib/isc and lib/isccc compiled okay and their compiler options match the lib/dns options. Grrrrr... Any ideas? Regards, Russell Thackston |