Menu

#2 compiling prob

open
None
5
2001-08-28
2001-04-28
Anonymous
No

hi there,

there seems to be a problem, wehn compiling on plain suse 7.1 system. after setting port and display geometry the make process produces a lot of warning messages.
several variables are redefined via included "strings.h": __NFDBITS, __FDMASK and memset for instance.
so i commented out the include of strings.h. after that the compile runs without error and produces only warnings regarding incompatible pointer types in function init_module.
insmod is unable to load the module due to unresolved symbols:
- __release_region
- __check_region
- __request_region
- ioport_resource

with kind regards
uwe

mailto:uwe.holz@gmx.de

Discussion

  • Nils Faerber

    Nils Faerber - 2001-08-28
    • assigned_to: nobody --> nilsf
     
  • Nils Faerber

    Nils Faerber - 2001-08-28

    Logged In: YES
    user_id=29428

    Which version of the driver did you try?
    The latest CVS?
    With what kernel version?

     
  • phillip hamilton-wilks

    Logged In: YES
    user_id=312769

    i have the same problem with suse 7.1 using kernel 2.2.18.
    I could not get insmod to load the lcd.o. It keep saying
    lcd.o was compiled for kernel 2.4.0 and this is kernel
    2.2.18. It makes no difference if I change -DKERNEL to 20
    21, 22 , 24 or 1024!. Happens with both LCD-0.1.52 or lcd-
    0.2

     
  • phillip hamilton-wilks

    Logged In: YES
    user_id=312769

    I have now switched to 2.4 kernel and have ftp'd every
    version from your ftp site. None of them compile until the
    include<string.h> has been removed.

    Now insmod is unable to load the module due to the
    following:
    - __release_region
    - __check_region
    - __request_region
    - ioport_resource

    which linux distribution and kernel did you get this running
    on?

     
  • Nobody/Anonymous

    Logged In: NO

    Same Problem. The insmod error is :
    unresolved symbol register_chrdev_R326c7363

    my kernel is 2.4.13

    Please help ...

    regards, Kevin

     

Log in to post a comment.