| View previous topic :: View next topic |
| Author |
Message |
scott Xandrosianding

Joined: 24 Jan 2003 Posts: 786 Location: West Chicago,Il
|
Posted: Sat Apr 28, 2007 7:11 pm Post subject: makefile how to |
|
|
This will be my first attempt at doing a makefile. Here's a copy from kate
CONFIG_INPUT_WACOMPROXY=m
wacomproxy-objs := wacomproxy_mod.o wacomproxy_utils.o
obj-$(CONFIG_INPUT_WACOMPROXY) += wacomproxy.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) cleanCONFIG_INPUT_WACOMPROXY=m
wacomproxy-objs := wacomproxy_mod.o wacomproxy_utils.o
obj-$(CONFIG_INPUT_WACOMPROXY) += wacomproxy.o
Do I do this from shell or can I do it with a text editor? What to I put here (shell uname -r)?
Any other help would be great. I'm getting brave in my old age
Thanks Scott _________________ [img]http://img406.imag
eshack.us/img406/1995/tuxclockdp6.jpg[/img]
Dual booting Xandros 4.1 and Klikit 1.5a
http://www.scrollsawart.com |
|
| Back to top |
|
 |
shengchieh Xandrosianschwing
Joined: 11 Jan 2004 Posts: 2382 Location: Palo Alto, CA
|
Posted: Sat Apr 28, 2007 10:01 pm Post subject: |
|
|
Can you explain what you are trying to do? I (and probably others)
am confused on what you are trying to do.
Btw, you should be able to use text editor to change your script.
Sheng-Chieh _________________
 |
|
| Back to top |
|
 |
scott Xandrosianding

Joined: 24 Jan 2003 Posts: 786 Location: West Chicago,Il
|
|
| Back to top |
|
 |
scott Xandrosianding

Joined: 24 Jan 2003 Posts: 786 Location: West Chicago,Il
|
|
| Back to top |
|
 |
shengchieh Xandrosianschwing
Joined: 11 Jan 2004 Posts: 2382 Location: Palo Alto, CA
|
Posted: Sun Apr 29, 2007 4:28 pm Post subject: |
|
|
Hopefully someone else more knowledgable comes as I'm not that
good with Makefile-s. You should be able to save any info as text file.
I believe you can save the text info inside the Makefile by using a
comment character (forgot syntax).
As for shell, default is bash shell (/bin/sh), but you can use any shell
you like. Add one of the below line as 1st line in your script to define
the shell
#!/bin/sh
#!/bin/csh
#!/bin/tcsh
#!/bin/ksh
.... (there are alot of shell languages) ...
Sheng-Chieh _________________
 |
|
| Back to top |
|
 |
scott Xandrosianding

Joined: 24 Jan 2003 Posts: 786 Location: West Chicago,Il
|
|
| Back to top |
|
 |
scott Xandrosianding

Joined: 24 Jan 2003 Posts: 786 Location: West Chicago,Il
|
Posted: Sun Apr 29, 2007 5:58 pm Post subject: |
|
|
This still very confused I'm going to put it side for now. I'll keep search the web to if I can't find a how to. The other thing is getting wacon-kernel-source complied, I get a number of errors when running dpkg reconfigure and I don't know how to correct them. It looks like Xandros does put things in a more standard directory. Just wally is trying to do this also with the same results as me. _________________ [img]http://img406.imag
eshack.us/img406/1995/tuxclockdp6.jpg[/img]
Dual booting Xandros 4.1 and Klikit 1.5a
http://www.scrollsawart.com |
|
| Back to top |
|
 |
shengchieh Xandrosianschwing
Joined: 11 Jan 2004 Posts: 2382 Location: Palo Alto, CA
|
Posted: Sun Apr 29, 2007 9:52 pm Post subject: |
|
|
Why don't you post your error messages? Someone might be able to understand
quickly. Also, consider other forums if no response her. You can see a big list of
forums on my website (signature) -> forums.
Btw, you installed gcc (C/C++ development libraries)? That is a common missing
item when doing developments.
Sheng-Chieh _________________
 |
|
| Back to top |
|
 |
scott Xandrosianding

Joined: 24 Jan 2003 Posts: 786 Location: West Chicago,Il
|
Posted: Mon Apr 30, 2007 7:31 am Post subject: |
|
|
shengchieh: thanks for trying to help me. I think I have you confuse and me too at this point. I'm trying to get my wacom tablet to fully function.
1. I need to configure the wacon-kernel-source. I get 2 error messages there, they are posted in building wacom kernel in this section. I didn't get any responses there.
2. Needed
to get wacomproxy to install. This is what this post is about. I don't know how to handle the different files to get them to install. wacomproxy will keep the driver active without the need to restart if it is unplugged, like going into VMware and then back to Xandros.
It looks like I need to get the wacom-kernel-source done before the rest can be done.
I'm now lloking for a how to in simple english on how to use dpkg, is there a way to change locations of files when running it.
Thnks Scott _________________ [img]http://img406.imag
eshack.us/img406/1995/tuxclockdp6.jpg[/img]
Dual booting Xandros 4.1 and Klikit 1.5a
http://www.scrollsawart.com |
|
| Back to top |
|
 |
shengchieh Xandrosianschwing
Joined: 11 Jan 2004 Posts: 2382 Location: Palo Alto, CA
|
Posted: Mon Apr 30, 2007 12:41 pm Post subject: |
|
|
This topic is starting to go over my head. Maybe someone more knowledgable
can help. dpkg is a debian command - too geeky for most Xandros users.
You can get more info at
http://en.wikipedia.org/wiki/Dpkg
Also, debian has alot of good docs at
http://www.debian.org/doc/
Sheng-Chieh _________________
 |
|
| Back to top |
|
 |
|