Ok, I have a Smart link 56K V.92 Modem... the drivers are available at
ok when running make as root I get
/usr/include/stdio.h:329
|
|
|
all the way down skipping numbers untill 402
a few keywords I find
"syntax"
"snprint" or something liek that
I cant copy the log over to my floppy or my windows partition, it appears I don't have the priveleges to copy it over to eaather thanks for the help

Dani AI

Generated

Short diagnosis and next step: the build failures you saw are almost always because the distro-provided kernel headers/source tree that the driver needs to compile against is not installed or does not match the running kernel. already picked up that the kernel headers were missing — the fix is to install the kernel-source/kernel-headers package that exactly matches your running kernel and then rebuild the modem module. Mandrake 9.2 did not include the full kernel-source on the standard download CDs, so the usual route is to install the matching RPM from a Mandrake 9.2 mirror or let urpmi fetch it if your media are configured. (hardware.com.br)

Quick actionable steps (run as root):

# see exactly what kernel you're running
uname -r

# try the simple route if urpmi is configured
urpmi kernel-source

# if urpmi can't find it, download the RPM for your kernel (e.g. kernel-source-2.4.22-10mdk.i586.rpm)
# then install it:
rpm -Uvh /path/to/kernel-source-2.4.22-10mdk.i586.rpm

If urpmi refuses to fetch the package, add a Mandrake 9.2 repository (urpmi.addmedia) or grab the kernel-source RPM from a mirror/rpm archive and install manually. (lwn.net)

After the source is installed: confirm the source tree is under /usr/src, and ensure /usr/src/linux points to the tree for your running kernel. Copy the running kernel config into the source tree (so the build uses the same options) and then rebuild the driver from its directory. You can also build against the distro build directory using the kernel build path. Make sure development packages (gcc, make, glibc-devel, etc.) are installed before compiling. These steps and placement of sources are standard Mandrake practice. (grumbeer.dyndns.org)

If you still see errors (stdio.h or “snprint” messages), save the full build log and transfer it off the machine for inspection. ’s mount advice helps when you can’t write to other partitions; alternates are to write the log to /tmp and scp it to another host, or download the RPM on a second machine and bring it over. Ensure the kernel-source package version string (the “10mdk” suffix) exactly matches uname -r — mismatches are a frequent cause of build failures. (linuxquestions.org)

Recommended Answers

All 2 Replies

I cant copy the log over to my floppy or my windows partition, it appears I don't have the priveleges to copy it over to eaather thanks for the help

You can't copy a file to your floppy as root? Check /etc/fstab and look for:


/dev/fd0 /floppy vfat rw,users,noauto


If you don't have an entry in your /etc/fstab for mounting the floppy, you'll have to manually add one. Same thing for you Windows partition, which could look something like this:


/dev/hda0 /c-drive vfat rw,users,noauto 0 0


Make sure you change the mountpoint to your actual mountpoint (directory) or create one using:


root@host# mkdir /c-drive

ok i got an idea of what my problem is...the kernel sources are installed...but not the kernel-headers! I have kernel 2.4.22-10mdk the one that came with MDK9.2 any help or redirections on where to get this file?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.