[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i8000 : Can't build pcmcia modules



hi,

i think that there is a problem with the makefile.  i got the same error
message when i tried to compile my own pcmcia-modules:
> I get this error:
> 
> rm -f build build-modules
> test -f man/pcmcia.5 -a -f debian/rules
> umask 022; /usr/bin/make DEB_MOD=yes all
> make[2]: Entering directory '/usr/src/modules/pcmcia-cs'
> /bin/sh: -c: line 1: syntax error near unexpected token ';'
> /bin/sh: -c line 1: 'if [ "" ]; then @set -e ; for d in  ; do /usr/bin/make -C $d  ; done; fi'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/usr/src/modules/pcmcia-cs'
> make[1]: *** [build-modules] Error 2
> make[1]: Leaving directory '/usr/src/modules/pcmcia-cs'
> make: *** [binary-arch] Error 2

the solution for me was to fix the makefile.  replace "@set" with "set".
i also changed the variable DIRS:
	DIRS = clients wireless
in line 13

now i could compile the modules and install them.

greetings,

uLI



Reply to: