Click to See Complete Forum and Search --> : How do I compile in Mandrake?


Spartan
02-16-2001, 09:41 AM
Last night I was installing a package I had downloaded to try and fix my ethernet card, but couldn't compile it. The instructions they gave me for getting it up and running were for a Red Hat system. I thought that most commands in RedHat and Mandrake were interchangable. I am not so sure any more. I got a file name tulip.c and was wondering if any Mandrake person(s) could tell me what command to use to compile it or what man pages to read. Also, I am try to get GATOS to work for my ATI Video card. I downloaded XFree86 4.0.2 and these "tarballs" that came iwth both but what do I do with them now? How do I implement them into my system?
Can someone help me here?

Thanks
Spartan :confused:

Infested Flar
02-16-2001, 10:53 AM
with tulip.c, i think u hav modules in it. try to compile ur kernel with built-in tulip driver. if not, try to use ur file tulip.c. go to /usr/src/linux and execute 'make modules' just to see how ur system compiles modules. u should see like

gcc -D__KERNEL__ -I/usr/src/include/linux -Wall blah! blah! blah! -include /usr/src/linux/include/linux/modversions.h -c file.c


try to compile ur file.c with those lines then put ur file.o to /lib/modules/<kernel_version>/net and edit ur /lib/modules/<kernel_version>/modules.dep and add ur file.o thr. then try to 'modprobe tulip' hope this helps! goodluck!

-flar- :cool:

[ 16 February 2001: Message edited by: flar ]