compileing on dsl


Forum: System
Topic: compileing on dsl
started by: dvdljns

Posted by dvdljns on Mar. 14 2006,15:00
What do I need so I can compile stuff on dsl. Onless I can get this thing to compile drivers it is useless to me.
Posted by mikshaw on Mar. 14 2006,18:26
You'll need at least a compiler.  Gcc and Make are available in the gcc1.dsl package.

GNU-utils is likely going to be needed in some cases, since the busybox tools are quite limited.

For building kernel modules, you'll need the headers for the appropriate kernel.

For building practically anything requiring X, you'll need the xfree86 headers.

Everything listed above is, as far as I know, available from the myDSL repository. For building everything else, it all depends on the application.  Some apps have few dependencies, some apps have many.  Usually the app's documentation will tell you which dev libraries are needed for the compile.

Posted by dvdljns on Mar. 16 2006,18:47
I guess it is just a matter of asking the right questions. I now can compile stuff. Thank you very much. A couple more questions if you don't mind. when I hit the system stats button in dsl it writes a bunch of txt to a file then looking at the file. It says gcc 2.95.4 but now that I can run gcc -v I find I have 3.3. something. why the diferance. I have no doubt that gcc -v is right but am I just understanding the stats.txt wrong.

When I start removing window managers will I break dsl if I remove flux I use jwm so do not need the other.
I would like to thank everyone who has took the time to help me. I will have to remember that sometimes getting the right answer is dependent on asking the right question.

:p

Posted by roberts on Mar. 16 2006,19:15
re: removing flux

You will need to keep the .fluxbox/menu file.
All extensions were built with the fluxbox menu specification it is still needed for proper dynamic mydsl to function.

That one file should be the only overlap.

Posted by dvdljns on Mar. 17 2006,19:07
hey roberts. I downloaded all the dsl's I needed to compile this wlan driver but I still get this error.

/lib/modules/2.4.26/build/.config
no rule to make target.

I checked and all that is there except the .config whats this thing looking for. Is there something else I need to download.

Posted by roberts on Mar. 17 2006,19:28
I have never seen compiling modules directly in the /lib/modules directory, I usually see that done in /usr/src. But I suppose anything is possible. Can't say that I could be of much help without knowing/having  your source tar ball for said module.
Posted by dvdljns on Mar. 17 2006,19:50
Maybe I am using the wrong word. but I downloaded the files from links I got from this forum. It is the rtl8180_lnuxdrv_v15_rh90 file. When I run make that is the error I get. I will try putting it in usr/src directory.
There is no way I see to upload to you on this forum.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.