My guess is that you need the kernel headers.
Okay, I was trying to compile a modem driver from source, and I got this error message once I got to the make command:
I updated my GCC to the latest edition, and it still gives me that message. I did a file search and crt1.o doesn't exist. I looked through the makefile and there's nothing about crt1.o. What's wrong here?Code:$ make gcc kernel-ver.o -o kernel-ver /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [kernel-ver] Error 1
My guess is that you need the kernel headers.
Where do I get the kernel headers? As a Debian package? And would it work better with 2.4.26 kernel or the 2.6.6?
The headers should match the kernel you're running. You can download them as a deb. Use Synaptic -- it's probably the easiest way.
I can't use Synaptic or apt-get....If I could...I wouldn't be compiling a modem driver, now would I? Anyway...I found a buttload of debs at this site http://linux.org.by/debian/pool/ mai...ge-2.6.6-i386/ and downloaded some of them, but had no idea what i was doing and ended up finding myself in a long string of dependecies. Which ones do I need and which do I install first?
Ah, so that's what you're doing.
just do
uname -a
output on my box is:
Linux niglo 2.6.7 #2 SMP Wed Jul 28 04:25:36 CEST 2004 i686 GNU/Linux
but the 2.6.7 (or whatever) is the kernel you want the headers to match. You want the headers. For example (they match architectures) kernel-headers-2.4.27-2-686 if you were running 2.4.27 on a Pentium Pro/Celeron/Pentium II/Pentium III/Pentium 4.
I'm running 2.6.6 on an i686. I already knew that. But all those files are for 386 or 686...And I can't figure out which one to download.
686 is i686. The 386 will (probably) do if you've no better choice.
Did you look at the website? They're all 686 or 386...I know about architectures...But I have no idea which file to download first...That's the problem I'm having
kernel-headers-2.6.6-1-686-smp_2.6.6-1_i386.deb
should do it.

SK Hynix 1TB PC801 M.2 NVMe PCIe Gen4x4 2280 SSD
$100.00
Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00
External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99
Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25
1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95
Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99
Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47
SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99
Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$330.73
External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A
$100.00