Re: FTBFS for gnokii 0.4.3-8
On Mon, Apr 28, 2003 at 09:39:57AM -0400, Ben Collins wrote:
> On Mon, Apr 28, 2003 at 03:02:10PM +1000, Bradley Marshall wrote:
> > gcc -Xlinker -r -nostdlib -nodefaultlibs -o PHONES.o generic.o nokia.o nk7110.o nk6510.o nk6100.o atgen.o ateric.o atnok.o atsie.o dc2711.o fake.o nk6160.o
> > /usr/bin/ld: --relax and -r may not be used together
>
> gcc -c -o PHONES.o ...
>
> The "-Xlinker -r" bypasses some of gcc's internal logic and the
> -nostdlib -nodefaultlibs is also an attempt to overcome bypassing it.
> This isn't specific to just sparc either. It's just that sparc exposed
> the misusage. I'd make this change for every architecture.
That sounds good in theory, but I get the following error message when
building in a sid chroot on vore, and a local i386 build:
gcc -c -o PHONES.o generic.o nokia.o nk7110.o nk6510.o nk6100.o atgen.o ateric.o atnok.o atsie.o dc2711.o fake.o nk6160.o
gcc: cannot specify -o with -c or -S and multiple compilations
Any other ideas? Do I need to change something else for this to work?
Thanks,
Brad
--
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
|Brad Marshall | Plugged In Software|
|Senior Systems Administrator | http://www.pisoftware.com|
|mailto:bmarshal@pisoftware.com | GPG Key Id: 47951BD0 / 1024b|
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
Fingerprint: BAE3 4794 E627 2EAF 7EC0 4763 7884 4BE8 4795 1BD0
Reply to: