Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
ndiswrapper
Results 1 to 7 of 7

Thread: ndiswrapper

  1. #1

    ndiswrapper

    hello
    I recently downloaded and installe RedHat 9.0 and am dual booting on my laptop with windows xp. Im trying to get my wirless card to work with it. i have the microsoft mn720. I was doing some research and found ndiswrapper, so i decided to try it out. I unzipped it and when i ran the "make" command i got a whole bunch of syntax errors. I heard form somone that i have to compile the kernel source code and i dunno i did that ( i think) and it still would not work.
    i think i compile the source code i did all those make xconfig, make modules make install and wahtever make bzimage and the fixed the grub boolloader but when i load with te custom version i do make for the ndiswrapper it still doesn twork
    any suggestions
    its getting annoying to swtich back and forht to use the internet

    thanks a lot

    btw here are the make file errors

    [root@localhost sT]# cd ndiswrapper-1.0
    [root@localhost ndiswrapper-1.0]# make
    make -C driver
    make[1]: Entering directory `/home/sT/ndiswrapper-1.0/driver'
    cc -DEXPORT_SYMTAB -DMODVERSIONS -include

    /lib/modules/2.4.20-8/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.0\"

    -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE

    -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer

    -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2 -c -o misc_funcs.o

    misc_funcs.c
    misc_funcs.c:30: field `hlist' has incomplete type
    misc_funcs.c: In function `misc_funcs_init':
    misc_funcs.c:48: warning: implicit declaration of function `INIT_HLIST_HEAD'
    misc_funcs.c:48: invalid use of undefined type `struct hlist_head'
    misc_funcs.c: In function `misc_funcs_exit':
    misc_funcs.c:91: invalid use of undefined type `struct hlist_head'
    misc_funcs.c:92: warning: implicit declaration of function

    `hlist_for_each_safe'misc_funcs.c:92: parse error before '{' token
    misc_funcs.c:95: `p' undeclared (first use in this function)
    misc_funcs.c:95: (Each undeclared identifier is reported only once
    misc_funcs.c:95: for each function it appears in.)
    misc_funcs.c:95: warning: implicit declaration of function `hlist_entry'
    misc_funcs.c:95: parse error before "struct"
    misc_funcs.c:96: warning: implicit declaration of function `hlist_del'
    misc_funcs.c: At top level:
    misc_funcs.c:102: parse error before "do"
    misc_funcs.c:109: warning: type defaults to `int' in declaration of `alloc'
    misc_funcs.c:109: warning: initialization makes integer from pointer without a cast
    misc_funcs.c:109: initializer element is not constant
    misc_funcs.c:109: warning: data definition has no type or storage class
    misc_funcs.c:110: parse error before '&' token
    misc_funcs.c:110: warning: type defaults to `int' in declaration of `list_del'
    misc_funcs.c:110: warning: function declaration isn't a prototype
    misc_funcs.c:110: conflicting types for `list_del'
    /lib/modules/2.4.20-8/build/include/linux/list.h:92: previous declaration of

    `list_del'
    misc_funcs.c:110: warning: data definition has no type or storage class
    misc_funcs.c:111: parse error before '->' token
    misc_funcs.c:111: warning: type defaults to `int' in declaration of `kfree_R037a0cba'
    misc_funcs.c:111: warning: function declaration isn't a prototype
    misc_funcs.c:111: conflicting types for `kfree_R037a0cba'
    /lib/modules/2.4.20-8/build/include/linux/slab.h:63: previous declaration of

    `kfree_R037a0cba'
    misc_funcs.c:111: warning: data definition has no type or storage class
    misc_funcs.c:112: warning: type defaults to `int' in declaration of `kfree_R037a0cba'
    misc_funcs.c:112: warning: parameter names (without types) in function declaration
    misc_funcs.c:112: warning: data definition has no type or storage class
    misc_funcs.c:113: parse error before '}' token
    misc_funcs.c: In function `map_kspin_lock':
    misc_funcs.c:131: invalid use of undefined type `struct hlist_head'
    misc_funcs.c:132: warning: implicit declaration of function `hlist_for_each'
    misc_funcs.c:132: parse error before '{' token
    misc_funcs.c:135: parse error before "struct"
    misc_funcs.c: At top level:
    misc_funcs.c:140: parse error before "void"
    misc_funcs.c:142: warning: type defaults to `int' in declaration of `p'
    misc_funcs.c:142: `p' used prior to declaration
    misc_funcs.c:142: invalid type argument of `unary *'
    misc_funcs.c:142: warning: initialization makes integer from pointer without a cast
    misc_funcs.c:142: initializer element is not constant
    misc_funcs.c:142: warning: data definition has no type or storage class
    misc_funcs.c:143: parse error before "if"
    misc_funcs.c:149: parse error before '&' token
    misc_funcs.c:149: warning: type defaults to `int' in declaration of `hlist_add_head'
    misc_funcs.c:149: warning: function declaration isn't a prototype
    misc_funcs.c:149: warning: data definition has no type or storage class
    misc_funcs.c: In function `unmap_kspin_lock':
    misc_funcs.c:165: invalid use of undefined type `struct hlist_head'
    misc_funcs.c:166: parse error before '{' token
    misc_funcs.c:169: parse error before "struct"
    misc_funcs.c:170: invalid type argument of `->'
    misc_funcs.c:171: invalid type argument of `->'
    misc_funcs.c: At top level:
    misc_funcs.c:179: parse error before "do"
    misc_funcs.c:38: storage size of `spinlock_map' isn't known
    make[1]: *** [misc_funcs.o] Error 1
    make[1]: Leaving directory `/home/sT/ndiswrapper-1.0/driver'
    make: *** [all] Error 2
    [root@localhost ndiswrapper-1.0]#

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear n00b,
    Hello,

    Quote Originally Posted by From LinuxQuestions
    Try to use an older version of ndiswrapper from here, because I guess version 1.0 does not work with 2.4.x kernels. I use ndiswrapper with 2.6.9 and it works fine. I tried to install it in my old 2.4.26 kernel and I had the same errors as you did. Of course you can always upgrade your kernel to 2.6.x.
    Best Regards.
    Frrkh hmd

  3. #3
    hi,
    thank you for replying, i tried ndiswrapper with version 0.8 and it worked. but when i get to modprobe ndiswrapper i get this error

    [root@localhost ndiswrapper-0.8]# ndiswrapper -l
    Installed ndis drivers:
    mn720 present
    [root@localhost ndiswrapper-0.8]# modprobe ndiswrapper
    /lib/modules/2.4.20-8/misc/ndiswrapper.o: kernel-module version mismatch
    /lib/modules/2.4.20-8/misc/ndiswrapper.o was compiled for kernel version 2.4.20-8custom
    while this kernel is version 2.4.20-8.
    /lib/modules/2.4.20-8/misc/ndiswrapper.o: insmod /lib/modules/2.4.20-8/misc/ndiswrapper.o failed
    /lib/modules/2.4.20-8/misc/ndiswrapper.o: insmod ndiswrapper failed

    Wheni recompile the kernel (or whatever soory im new to linux) i had to change the bootlaoder and so i have another version
    2.4.20-8 and 2.4.20-8CUSTOM
    Im going to go try it on the CUSTOM one, but my mouse doesnt work in that (usb microsoft optical mouse) have to use the touchpad, and when loading a lot of things fail.
    this is frustrating
    any suggestions to solve this. THANKS A LOT

  4. #4
    UPDATE:
    i loggod on witht the CUSTOM kernel ( where it fails to initalize my usb mouse *-) and i trie modprobe ndiswrapper i got this error that no modprobe for ndiswrapper found or something along those lines

  5. #5
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear n00b,
    Hello,

    Quote Originally Posted by From LinuxQuestions
    If the kernel version is pre-existing (2.4.2-10mdk) when you build a kernel generally the kernel will by default have "custom" tagged onto the end. If you build a kernel whose version number does not already exist then the "custom" will generally not be attached on the end of the version.

    Should recompile ndiswrapper while booted up in 2.4.22-28mdkcustom kernel.

    Hope this helps.
    # ndiswrapper -m

    Best Regards.
    Frrkh hmd

  6. #6
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    FYI - A brief ndiswrapper tutorial has been added to linuxhomenetworking.com

  7. #7
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear starfish,
    Hello,

    Quote Originally Posted by starfish
    FYI - A brief ndiswrapper tutorial has been added to linuxhomenetworking.com
    Great Work !!

    Best Regards.
    Frrkh hmd

Similar Threads

  1. ndiswrapper help! (a/k/a "Make my eyes stop bleeding")
    By JoeyJoeJoe in forum Linux - Hardware, Networking & Security
    Replies: 11
    Last Post: 04-11-2007, 12:01 AM
  2. WLAN newbie question (Airport cards, ndiswrapper, etc.)
    By JoeyJoeJoe in forum Linux - Hardware, Networking & Security
    Replies: 18
    Last Post: 12-04-2006, 06:36 PM
  3. WEP wireless problem with ndiswrapper
    By bluescreen in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 11-25-2006, 10:04 AM
  4. Wireless with ndiswrapper PET by Gorn
    By Compunuts in forum Linux - General Topics
    Replies: 0
    Last Post: 09-18-2005, 02:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •