You are not logged in.

#1 2007-04-29 09:56:09

Mallo
Member
From: Italy (Como)
Registered: 2007-04-16
Posts: 10
Website

Compiling problem linux/linkage.h

Hi everybody,
I'm trying to compile a library that I want to use to do robotics.
The program is:
http://carmen.sourceforge.net/home.html
to download the source:
http://sourceforge.net/project/showfile … _id=121727


Okay,
so I download it,
try to ./configure, then make and there was problems because of makefile.dep...
I need to do in sequence:
./configure
make
//error
make clean  all (or make clean) // now is clean...It appears I can't do it at the beginning
//now
./configure
make
...
...
...
Error in the Module named camera
ccvt_mmx.S:31:27: error: linux/linkage.h: No such file or directory


I tried with find and I have:

[root@localhost src]# find / -name 'linkage.h'
/usr/lib/klibc/include/linux/linkage.h
/usr/lib/klibc/include/asm-i386/linkage.h
/usr/src/linux-2.6.20-ARCH/include/linux/linkage.h
/usr/src/linux-2.6.20-ARCH/include/asm-i386/linkage.h

Why it doesn't find it... I need to modify something?...
I tried to use
#include 'absolute_path'
but it seems it doesn't work.

Thanks for any reply

Offline

#2 2007-08-09 09:48:54

honzor
Member
Registered: 2005-12-18
Posts: 42

Re: Compiling problem linux/linkage.h

I've got the same problem while trying to compile Freej (freej.org):

[...]
ccvt_mmx.S:33:27: error: linux/linkage.h: No such file or directory
ccvt_mmx.S: Assembler messages:
ccvt_mmx.S:301: Error: invalid character '(' in mnemonic
ccvt_mmx.S:310: Error: invalid character '(' in mnemonic
ccvt_mmx.S:319: Error: invalid character '(' in mnemonic
ccvt_mmx.S:328: Error: invalid character '(' in mnemonic
make[3]: *** [ccvt_mmx.o] Error 1
make[3]: Leaving directory `/root/pkgs/freej/src/freej-0.8.1/lib/ccvt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/pkgs/freej/src/freej-0.8.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pkgs/freej/src/freej-0.8.1'
make: *** [all] Error 2

Anyone can help?

Offline

#3 2007-08-09 10:47:50

cycle
Member
From: Australia
Registered: 2007-01-21
Posts: 42

Re: Compiling problem linux/linkage.h

i haven't built either of those two before but a couple of guesses -

is there an option you can pass to the configure script to tell it where to locate base kernel source directory i.e -

/usr/src/linux-2.6.20-ARCH/include/


alternatively,  is there an option to pass to disable mmx support ?

Offline

#4 2007-09-04 07:50:20

Mallo
Member
From: Italy (Como)
Registered: 2007-04-16
Posts: 10
Website

Re: Compiling problem linux/linkage.h

I haven't tried anything else because I haven't used that software since that post. Sorry. I don't know the solution.

Offline

Board footer

Powered by FluxBB