Menu

#3 2.4.26 module cannot be installed

open
nobody
None
5
2004-12-07
2004-12-07
No

When running the command as root:

# make install
Linking zc030x.o
Installing.. Your root password may be required.
su -c "make install-root"
make[1]: Entering directory `/usr/src/zc030x'
make[1]: *** No rule to make target `install-root'.
Stop.
make[1]: Leaving directory `/usr/src/zc030x'
make: *** [install] Error 2

Compiling seem to work fine.

Discussion

  • Egon Willighagen

    Logged In: YES
    user_id=25678

    Forgot to mention that I was using a checkout from CVS
    HEAD (on 07-12 around 21:00 CET).

     
  • Ulisses Penna

    Ulisses Penna - 2004-12-12

    Logged In: YES
    user_id=1058192

    Egon,

    Apply this patch (or put it manually):

    --- Makefile 2004-12-11 22:09:08.000000000 -0200
    +++ Makefile-new 2004-12-11 22:21:31.000000000 -0200
    @@ -99,6 +99,10 @@
    @echo Installing.. Your root password may be required.
    su -c "make install-root"

    +install-root:
    + install -c -m 0644 zc030x.o $(MODULE_INSTALLDIR)
    + /sbin/depmod -ae
    +
    .c.o: Makefile $*.c
    @echo Compiling $*.c
    @$(CC) $(CFLAGS) $(WARNINGS) $(DEFINES) -c $*.c -o $*.o

     

Log in to post a comment.

MongoDB Logo MongoDB