You are not logged in.

#1 2012-07-04 10:20:52

glitch666
Member
Registered: 2009-10-04
Posts: 7

[SOLVED]Cant complie linux-bfs?

Every time I try to compile the linux-bfs kernel it throws me this error.

==> ERROR: linux-bfs is not available for the '' architecture.
    Note that many packages may need a line added to their PKGBUILD
    such as arch=('').

Im on x86_64 and my makepkg.conf 

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-bu$
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-$
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j5"

Does anybody know why?

Last edited by glitch666 (2012-07-05 08:55:51)

Offline

#2 2012-07-04 10:36:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,674
Website

Re: [SOLVED]Cant complie linux-bfs?

What does "CARCH" get set to in makepkg.conf?

Offline

#3 2012-07-04 10:40:40

glitch666
Member
Registered: 2009-10-04
Posts: 7

Re: [SOLVED]Cant complie linux-bfs?

I dont have that in mine, Isnt that only for building for i686 on x86_64?

Offline

#4 2012-07-05 08:03:24

glitch666
Member
Registered: 2009-10-04
Posts: 7

Re: [SOLVED]Cant complie linux-bfs?

can anybody help?

Offline

#5 2012-07-05 08:09:10

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]Cant complie linux-bfs?

And what happens if you actually do add the architecture info to your makepkg.conf?


Burninate!

Offline

#6 2012-07-05 08:17:22

glitch666
Member
Registered: 2009-10-04
Posts: 7

Re: [SOLVED]Cant complie linux-bfs?

What should it be set to? It was never there to begin with, I have never edited since I installed. Never also compliled my own packages before.

Offline

#7 2012-07-05 08:22:00

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]Cant complie linux-bfs?

Strange that the info isn't in there already.

Have a look at this section of the makepkg wiki page. It lists the exact syntax that should be used.


Burninate!

Offline

#8 2012-07-05 08:25:57

glitch666
Member
Registered: 2009-10-04
Posts: 7

Re: [SOLVED]Cant complie linux-bfs?

Thankys!!! I added that missing section and its compiling, weird is that there was about 4 lines of blank space in that spot. Wonder why it wasnt there........ Thank you though!

Offline

#9 2012-07-05 08:30:30

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]Cant complie linux-bfs?

Perhaps something went wrong when merging config files after an update of makepkg or so.

In any case, good to hear it's functioning now. Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

Board footer

Powered by FluxBB