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
  •  


Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k picture

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k

$189.99



Seagate 6TB HDD ST6000NM0034 7.2K 3.5

Seagate 6TB HDD ST6000NM0034 7.2K 3.5" SAS 12Gb/s (NOT FOR PC - FOR SERVER ONLY)

$87.00



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$329.99



Seagate ST1000VM002 1TB 5900RPM 3.5

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6GB/s HDD Video Hard Drive PC DVR

$24.99



Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD

$299.00



Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$669.99



Seagate Exos ST10000NM002C 10TB CMR 7200RPM SATA6Gb/s 3.5

Seagate Exos ST10000NM002C 10TB CMR 7200RPM SATA6Gb/s 3.5" Enterprise Hard Drive

$279.99



Western Digital RE WD4000FYYZ 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital RE WD4000FYYZ 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$129.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$49.00