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
  •  


9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US picture

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US

$49.50



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working picture

QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working

$149.99



Broadcom LSI Avago RAID card MegaRAID SAS 9480-8i8e 05-50031-00 picture

Broadcom LSI Avago RAID card MegaRAID SAS 9480-8i8e 05-50031-00

$500.00



WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5''3.5'' SSD HDD USB C 4Bay picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5''3.5'' SSD HDD USB C 4Bay

$107.99



Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller picture

Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller

$999.99



2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$75.99



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



LSI  IT Mode 9300-16i 16-port SAS9300-16I 12GB/s Host Bus Adapter W CABLES US picture

LSI IT Mode 9300-16i 16-port SAS9300-16I 12GB/s Host Bus Adapter W CABLES US

$74.99



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00