LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-17-2010, 05:16 PM   #1
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Rep: Reputation: 16
ndiswrapper will not build on -current


here is the compiler output when i try to build the slackware package

MKEXPORT /tmp/SBo/ndiswrapper-1.56/driver/crt_exports.h
MKEXPORT /tmp/SBo/ndiswrapper-1.56/driver/hal_exports.h
MKEXPORT /tmp/SBo/ndiswrapper-1.56/driver/ndis_exports.h
MKEXPORT /tmp/SBo/ndiswrapper-1.56/driver/ntoskernel_exports.h
MKEXPORT /tmp/SBo/ndiswrapper-1.56/driver/ntoskernel_io_exports.h
MKEXPORT /tmp/SBo/ndiswrapper-1.56/driver/rtl_exports.h
MKEXPORT /tmp/SBo/ndiswrapper-1.56/driver/usb_exports.h
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/crt.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/hal.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/iw_ndis.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/loader.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/ndis.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/ntoskernel.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/ntoskernel_io.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/pe_linker.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/pnp.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/proc.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/rtl.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/wrapmem.o
CC [M] /tmp/SBo/ndiswrapper-1.56/driver/wrapndis.o
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c: In function 'set_multicast_list':
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:953:13: error: 'struct net_device' has no member named 'mc_count'
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:956:20: error: 'struct net_device' has no member named 'mc_count'
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:960:10: error: 'struct net_device' has no member named 'mc_count'
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:960:10: warning: type defaults to 'int' in declaration of '_min2'
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:960:10: error: 'struct net_device' has no member named 'mc_count'
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:967:19: error: 'struct net_device' has no member named 'mc_list'
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:968:50: error: dereferencing pointer to incomplete type
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:969:14: error: dereferencing pointer to incomplete type
/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.c:971:4: error: dereferencing pointer to incomplete type
make[3]: *** [/tmp/SBo/ndiswrapper-1.56/driver/wrapndis.o] Error 1
make[2]: *** [_module_/tmp/SBo/ndiswrapper-1.56/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.35.7'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/tmp/SBo/ndiswrapper-1.56/driver'
make: *** [all] Error 2
bash-4.1#




any help would be appreciated.

mdynac
 
Old 10-17-2010, 11:28 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
latest svn seems to build fine: if useful, a prepared a snapshot to use with the slackbuild.

remember that -current is unsupported by slackbuilds.org
 
Old 10-18-2010, 07:42 AM   #3
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by ponce View Post
latest svn seems to build fine: if useful, a prepared a snapshot to use with the slackbuild.

how do i get it to build?
what do i need to change in the script?
 
Old 10-18-2010, 08:15 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
just the VERSION variable, from
Code:
VERSION=${VERSION:-1.56}
to
Code:
VERSION=${VERSION:-r2728}
 
Old 10-18-2010, 04:48 PM   #5
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Original Poster
Rep: Reputation: 16
thank you all,

changing that variable worked like a charm.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware current and ndiswrapper Quercus ruber Slackware 5 02-17-2010 05:54 PM
[SOLVED] Build fails in current: gtkimageview-1.6.4 damgar Slackware 2 02-14-2010 10:18 AM
[SOLVED] Cannot build apcups on slack64-current tux_dude Slackware 5 12-15-2009 06:42 AM
ndiswrapper Build fails binary1011100 Debian 3 06-17-2008 09:25 AM
Can't build ndiswrapper! onespeed Linux - Software 1 04-13-2007 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration