compiling program

compiling program

Post by Linux Newb » Thu, 11 Feb 1999 04:00:00



I'm trying to compile programs and I can't seem to get it working.
Here's the error message I get:

(cd driver; make)
make[1]: Entering directory `/tmp/bttv/driver'
Makefile :82: /usr/src/linux/Rules.make: No such file or directory
make[1] *** No rule to make target `/usr/src/linux/Rules.make`  Stop
make[1]: Leaving directory `/tmp/bttv/driver'
make:  *** [bttv] Error 2

How do I make a Rules.make file?  

--
"Linux:  The best things in life are free"

 
 
 

compiling program

Post by Roy Stogn » Tue, 16 Feb 1999 04:00:00



>I'm trying to compile programs and I can't seem to get it working.
>Here's the error message I get:

>(cd driver; make)
>make[1]: Entering directory `/tmp/bttv/driver'
>Makefile :82: /usr/src/linux/Rules.make: No such file or directory
>make[1] *** No rule to make target `/usr/src/linux/Rules.make`  Stop
>make[1]: Leaving directory `/tmp/bttv/driver'
>make:  *** [bttv] Error 2

>How do I make a Rules.make file?  

You don't - it's a definitions file that comes with the Linux source
code.

If you're putting in bttv support, you may want to just go whole hog
and upgrade to kernel 2.2, which has had bttv built in for a while
now.  See the instructions at http://www.linuxhq.com/
---
Roy Stogner

 
 
 

1. Compiled program seems too large

Hi,

When I compile the following code, my executable is 25k! Am I doing
something wrong?

#include <stdio.h>

int main(void)
{
   printf("Hello World!\n");
   return(0);

I just use gcc -o hello hello.c . Using -O[2,3] makes no difference.

Thanks,

Evan

2. HELP: Mouse broken on Mandrake 8.0

3. How to combine 'mbuild' and 'tmCC' to compile program?

4. ]

5. How to activate a compiled program

6. Fujitsu MO (640 Mb) drives

7. compile program causes running version to crash

8. Configuration Backups

9. reversing compiled programs

10. GPL, pre-compiled programs and libraries?

11. Having problems compiling programs.

12. strange slowness in 64-bit compiled program

13. Self compiled programs don't run