Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Makefile:3: *** missing separator. Stop.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Thu Jan 12, 2006 5:04 pm    Post subject: Makefile:3: *** missing separator. Stop. Reply with quote

Ragazzi ho un problema nell'uso di make.
Ho provato a scaricare il programma Firmwareagent da qui:
Code:
http://lekernel.lya-fr.com/firmwareagent_en.html

lo scompatto con:
Code:
tar-xvjf firmwareagent

Entro nella directory in cui sono stati scompattati i file.
Digito make e mi viene questo errore:
Code:
Makefile:3: *** missing separator.  Stop

Il file Makefile è così strutturato:
Code:
SRCS=vnode_if.h firmwareagent.c
KMOD=firmwareagent
EXPORT_SYMS=YES

afterinstall:
        install -o root -g wheel -m 444 firmware.h /usr/include/sys
        install -o root -g wheel -m 444 firmware.h /usr/src/sys/sys

.include <bsd.kmod.mk>

Che posso fare??
Devo installare questo programma per poi installare i driver prism54.
Grazie.
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Thu Jan 12, 2006 5:24 pm    Post subject: Reply with quote

Prima cosa visto che non usi portage questo topic andrebbe nel subforum.
Poi quello è un makefile per i ports di bsd, non lo puoi utilizzare così com'è.

Ciao
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Thu Jan 12, 2006 5:43 pm    Post subject: Reply with quote

Ok ho provato a scaricare il pacchetto e a vedere se è compatibile:
Code:
exairetos@Aurora firmwareagent-0.2 $ gcc firmwareagent.c -o firmwareagent
firmwareagent.c:22:23: sys/systm.h: No such file or directory
firmwareagent.c:24:22: sys/lock.h: No such file or directory
firmwareagent.c:25:23: sys/mutex.h: No such file or directory
firmwareagent.c:26:24: sys/kernel.h: No such file or directory
firmwareagent.c:27:24: sys/module.h: No such file or directory
firmwareagent.c:28:24: sys/malloc.h: No such file or directory
firmwareagent.c:29:22: sys/proc.h: No such file or directory
firmwareagent.c:30:23: sys/namei.h: No such file or directory
firmwareagent.c:33:23: sys/vnode.h: No such file or directory
firmwareagent.c:34:26: sys/filedesc.h: No such file or directory

Arrenditi: non solo il makefile, ma anche il programma è scritto appoggiandosi al sistema *BSD; poiché Linux ha altri headers (è molto legato al SystemV), devi essere un buon programmatore sotto entrambi i sistemi per portarlo in una Gentoo, e comunque ci vuole tempo.
Sicuro che non ci sia una via più "gentoo-like"?

Ciao
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jan 12, 2006 6:34 pm    Post subject: Reply with quote

Ferdinando wrote:
Prima cosa visto che non usi portage questo topic andrebbe nel subforum.


Vero. Adesso lo sposto ;-)

Quote:
Poi quello è un makefile per i ports di bsd, non lo puoi utilizzare così com'è.


Pancu, se ho capito bene quindi sarebbe un modulo del kernel di BSD che vuoi usare su Linux, corretto?
Se si mi sa che non hai nessuna speranza... se invece é un modulo per un kernel Linux con il makefile sbagliato le cose potrebbero cambiare.
_________________
Ciao da me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum