Menu

#9 Error 1 during compilation with 2.4.x

open
11mbit DS (8)
5
2001-08-04
2001-05-31
No

Noticed in compiling the Spectrum24 driver with
pcmcia-cs-3.1.26 2.4.4-ac14, and then with any of the
Alan Cox series of the 2.4.5 kernels the Spectrum24
driver failed to compile. Make does not provide any
useful information other than 'Error 1'.

By looking at some of the other headers for the other
drivers the only difference I could see was the:

#include <pcmcia/config.h>
#include <pcmcia/k_compat.h>

lines were the first included. After changing this in
the Spectrum24t.h, everything compiled fine and had a
lot less compile warnings. This patch should work for
any kernel version, and the error may have been
happening with other 2.4.4-acxx kernels.

To run the patch, change to the clients directory of
the pcmcia-cs source and run:
patch -p1 < patch-file-you-saved

Discussion

  • Jeffrey Phillips

    Patch Spectrum24t.h

     
  • Jeffrey Phillips

    Logged In: YES
    user_id=223358

    Oops, forgot to attach patch.

     
  • Lee Keyser-Allen

    • assigned_to: nobody --> frozbiz
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.