Results 1 to 2 of 2

Thread: Problem with compiling source code

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    1

    Problem with compiling source code

    So as a newbie Linux user I have installed a Knoppix system on my computer (I'm using an AMD Athlon 1800+ XP processor). Everything works, but it can not find my network adapter (a RealTek RTL8139) card which is kind of irritating (which it can do when you run Knoppix from the CD). Anyway I have tried to compile the source code found on the web (there are two files I have tried: rtl8139.c and 8139too.c) When I try to compile them all I get is a lot of error messages that do not tell me anything really (since I'm a newbie).

    I'm trying the following compile command:
    gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c

    To me that command line is mostly greek. Especially the "-DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6" line.

    Can you type some sort of flag that makes the message that comes up after I type the command readable (like /p in old MS-DOS.)?

    I get basically the same message when I try to compile run 8139too.c

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: Problem with compiling source code

    Quote Originally Posted by Redbeard
    ... Everything works, but it can not find my network adapter (a RealTek RTL8139) card which is kind of irritating (which it can do when you run Knoppix from the CD)....
    You have a curious definition of "Everything works".

    This is the HDD install forum. I suggest that you glance at the last page of the forum (Currently as I write this page 175). Look at the last two articles at the bottom of the last page, particularly the second from the bottom. See anything that looks familiar?

    This bug has been going on since 2002, over 5 years now. It is posted over and over and over and over again and again in this forum. It is just one of the main reasons many of us advise people not to install Knoppix but to install something suitable for hard disk install like Debian (and is likely one of the many reasons that Klaus Knopper refers to the install script as something that "works occasionally".

    You may work out your compile issues, but as you already pointed out, the proper drives are already compiled into Knoppix. So in the end that is not going to resolve your problem.

Similar Threads

  1. compiling source code
    By crazy_monkey108 in forum General Support
    Replies: 14
    Last Post: 07-04-2006, 07:52 AM
  2. Compiling simple C code
    By maxIT in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 12-30-2005, 10:49 AM
  3. problem compiling source
    By lewisdw in forum General Support
    Replies: 5
    Last Post: 07-16-2005, 07:35 PM
  4. Problem with compiling a c++ code
    By estranged in forum General Support
    Replies: 3
    Last Post: 08-21-2003, 07:13 PM
  5. Problem compiling kernel-source-2.4.20-xfs
    By TheCyberDude in forum General Support
    Replies: 3
    Last Post: 06-23-2003, 06:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage 90’s Computer Stuff Package (MINT) picture

Vintage 90’s Computer Stuff Package (MINT)

$100.00



Vintage NMB Technologies RT8255CW+ Mechanical Wired Keyboard - Tested picture

Vintage NMB Technologies RT8255CW+ Mechanical Wired Keyboard - Tested

$74.95



5x Vintage SSS SCP1802D SCP1802LD Ceramic CPU 1802 COSMAC 1978 Gold IC picture

5x Vintage SSS SCP1802D SCP1802LD Ceramic CPU 1802 COSMAC 1978 Gold IC

$299.99



Vintage Apple Game TAXMAN I + TAXMAN II H.A.L. Labs picture

Vintage Apple Game TAXMAN I + TAXMAN II H.A.L. Labs

$1195.00



vintage Genitizer GT-1212B Plus graphic tablet/digitizer. ( Read description) picture

vintage Genitizer GT-1212B Plus graphic tablet/digitizer. ( Read description)

$420.00



AT Computer Power Supply Enlight 250W Vintage picture

AT Computer Power Supply Enlight 250W Vintage

$25.00



Vintage 3Com EtherLink III 3C509B-C ISA Ethernet Card RJ45 BNC AUI  picture

Vintage 3Com EtherLink III 3C509B-C ISA Ethernet Card RJ45 BNC AUI

$27.95



Vintage Atari 410 Program Recorder CIB Open Box Appears Unused 400 800 picture

Vintage Atari 410 Program Recorder CIB Open Box Appears Unused 400 800

$194.99



Vintage Core CL9 Master Universal Remote Control Steve Wozniak (Apple) READ picture

Vintage Core CL9 Master Universal Remote Control Steve Wozniak (Apple) READ

$1048.88



Vintage IBM 3151 ASCII Display Terminal CRT Monitor Untested picture

Vintage IBM 3151 ASCII Display Terminal CRT Monitor Untested

$50.00