File `-lselinux' does not exist.

Justin Mattock justinmattock at gmail.com
Sun Aug 16 14:11:28 PDT 2009


I've been racking my brain on this for a few days
without any results.
I can compile the xserver normally, but as seen as I enable
selinux I get an error during compilation time.

make -d shows this:

No need to remake target `../../xkb/libxkb.la'.
    Considering target file `-lselinux'.
     File `-lselinux' does not exist.
     Looking for an implicit rule for `-lselinux'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `-lselinux.pre'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `-lselinux.c'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `-lselinux.o'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `-lselinux,v'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `RCS/-lselinux,v'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `RCS/-lselinux'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `s.-lselinux'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `SCCS/s.-lselinux'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `-lselinux.pre'.
     Looking for a rule with intermediate file `-lselinux.pre'.
      Avoiding implicit rule recursion.
      Trying pattern rule with stem `-lselinux.pre'.
      Trying implicit prerequisite `-lselinux.pre,v'.
      Trying pattern rule with stem `-lselinux.pre'.
      Trying implicit prerequisite `RCS/-lselinux.pre,v'.
      Trying pattern rule with stem `-lselinux.pre'.
      Trying implicit prerequisite `RCS/-lselinux.pre'.
      Trying pattern rule with stem `-lselinux.pre'.
      Trying implicit prerequisite `s.-lselinux.pre'.
      Trying pattern rule with stem `-lselinux.pre'.
      Trying implicit prerequisite `SCCS/s.-lselinux.pre'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `-lselinux.c'.
     Looking for a rule with intermediate file `-lselinux.c'.
      Avoiding implicit rule recursion.
      Trying pattern rule with stem `-lselinux'.
      Trying implicit prerequisite `-lselinux.w'.
      Trying pattern rule with stem `-lselinux.c'.
      Trying implicit prerequisite `-lselinux.c,v'.
      Trying pattern rule with stem `-lselinux.c'.
      Trying implicit prerequisite `RCS/-lselinux.c,v'.
      Trying pattern rule with stem `-lselinux.c'.
      Trying implicit prerequisite `RCS/-lselinux.c'.
      Trying pattern rule with stem `-lselinux.c'.
      Trying implicit prerequisite `s.-lselinux.c'.
      Trying pattern rule with stem `-lselinux.c'.
      Trying implicit prerequisite `SCCS/s.-lselinux.c'.
      Trying pattern rule with stem `-lselinux'.
      Trying implicit prerequisite `-lselinux.w'.
      Looking for a rule with intermediate file `-lselinux.w'.
       Avoiding implicit rule recursion.
       Avoiding implicit rule recursion.
       Trying pattern rule with stem `-lselinux.w'.
       Trying implicit prerequisite `-lselinux.w,v'.
       Trying pattern rule with stem `-lselinux.w'.
       Trying implicit prerequisite `RCS/-lselinux.w,v'.
       Trying pattern rule with stem `-lselinux.w'.
       Trying implicit prerequisite `RCS/-lselinux.w'.
       Trying pattern rule with stem `-lselinux.w'.
       Trying implicit prerequisite `s.-lselinux.w'.
       Trying pattern rule with stem `-lselinux.w'.
       Trying implicit prerequisite `SCCS/s.-lselinux.w'.
     Trying pattern rule with stem `-lselinux'.
     Trying implicit prerequisite `-lselinux.o'.
     Looking for a rule with intermediate file `-lselinux.o'.
      Avoiding implicit rule recursion.
      Trying pattern rule with stem `-lselinux'.
      Rejecting impossible implicit prerequisite `-lselinux.c'.
      Trying pattern rule with stem `-lselinux.o'.
      Trying implicit prerequisite `-lselinux.o,v'.
      Trying pattern rule with stem `-lselinux.o'.
      Trying implicit prerequisite `RCS/-lselinux.o,v'.
      Trying pattern rule with stem `-lselinux.o'.
      Trying implicit prerequisite `RCS/-lselinux.o'.
      Trying pattern rule with stem `-lselinux.o'.
      Trying implicit prerequisite `s.-lselinux.o'.
      Trying pattern rule with stem `-lselinux.o'.
      Trying implicit prerequisite `SCCS/s.-lselinux.o'.
     No implicit rule found for `-lselinux'.
     Finished prerequisites of target file `-lselinux'.
    Must remake target `-lselinux'.
make[4]: Entering directory
`/home/justin/LFS/xserver/xorg-server-1.6.1.901/hw/xfree86'
make[4]: *** No rule to make target `-lselinux', needed by `Xorg'.  Stop.
make[4]: Leaving directory
`/home/justin/LFS/xserver/xorg-server-1.6.1.901/hw/xfree86'
Reaping losing child 0x00656860 PID 17449
make[3]: *** [all-recursive] Error 1
Removing child 0x00656860 PID 17449 from chain.
make[3]: Leaving directory
`/home/justin/LFS/xserver/xorg-server-1.6.1.901/hw/xfree86'
Reaping losing child 0x00657740 PID 17448
make[2]: *** [all] Error 2
Removing child 0x00657740 PID 17448 from chain.
make[2]: Leaving directory
`/home/justin/LFS/xserver/xorg-server-1.6.1.901/hw/xfree86'
Reaping losing child 0x0064e700 PID 17442
make[1]: *** [all-recursive] Error 1
Removing child 0x0064e700 PID 17442 from chain.
make[1]: Leaving directory `/home/justin/LFS/xserver/xorg-server-1.6.1.901/hw'
Reaping losing child 0x00654550 PID 17343
make: *** [all-recursive] Error 1
Removing child 0x00654550 PID 17343 from chain.

How do I go about this?


-- 
Justin P. Mattock



More information about the xorg mailing list