Compile Errors - madwifi-0.9.4

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile Errors - madwifi-0.9.4

Jim Bradbury-2
Linux Platform: Fedora 9 Linux host 2.6.25.11-97.fc9.x86_64 #1 SMP Mon Jul 21
01:09:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Compiler: gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)

I changed config.h to autoconf.h in all the source files.
----------------------------------------------------------------
make log:
  make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.25.11-97.fc9.x86_64/build
SUBDIRS=/home/jbrad/src/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/kernels/2.6.25.11-97.fc9.x86_64'
   CC [M]  /home/jbrad/src/madwifi-0.9.4/ath/if_ath.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/ath/if_ath_pci.o
   LD [M]  /home/jbrad/src/madwifi-0.9.4/ath/ath_pci.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/ath_hal/ah_os.o
   HOSTCC  /home/jbrad/src/madwifi-0.9.4/ath_hal/uudecode
   UUDECODE /home/jbrad/src/madwifi-0.9.4/ath_hal/x86_64-elf.hal.o
   LD [M]  /home/jbrad/src/madwifi-0.9.4/ath_hal/ath_hal.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/amrr/amrr.o
   LD [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/amrr/ath_rate_amrr.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/minstrel/minstrel.o
   LD [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/minstrel/ath_rate_minstrel.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/onoe/onoe.o
   LD [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/onoe/ath_rate_onoe.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/sample/sample.o
   LD [M]  /home/jbrad/src/madwifi-0.9.4/ath_rate/sample/ath_rate_sample.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/if_media.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_beacon.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_crypto.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_crypto_none.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_input.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_node.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_output.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_power.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_proto.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_scan.o
   CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.o
cc1: warnings being treated as errors
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c: In function
'giwscan_cb':
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without
a cast
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error: too
few arguments to function 'iwe_stream_add_event'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1607: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1607: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1607: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1607: error: too
few arguments to function 'iwe_stream_add_point'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1611: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1611: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1611: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1611: error: too
few arguments to function 'iwe_stream_add_point'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1625: error:
passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1625: error:
passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1625: error:
passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without
a cast
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1625: error: too
few arguments to function 'iwe_stream_add_event'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1638: error:
passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1638: error:
passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1638: error:
passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without
a cast
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1638: error: too
few arguments to function 'iwe_stream_add_event'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1649: error:
passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1649: error:
passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1649: error:
passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without
a cast
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1649: error: too
few arguments to function 'iwe_stream_add_event'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1663: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1663: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1663: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1663: error: too
few arguments to function 'iwe_stream_add_point'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1680: error:
passing argument 1 of 'iwe_stream_add_value' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1680: error:
passing argument 4 of 'iwe_stream_add_value' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1680: error:
passing argument 5 of 'iwe_stream_add_value' makes pointer from integer without
a cast
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1680: error: too
few arguments to function 'iwe_stream_add_value'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1689: error:
passing argument 1 of 'iwe_stream_add_value' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1689: error:
passing argument 4 of 'iwe_stream_add_value' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1689: error:
passing argument 5 of 'iwe_stream_add_value' makes pointer from integer without
a cast
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1689: error: too
few arguments to function 'iwe_stream_add_value'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1707: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1707: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1707: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1707: error: too
few arguments to function 'iwe_stream_add_point'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1732: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1732: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1732: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1732: error: too
few arguments to function 'iwe_stream_add_point'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1758: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1758: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1758: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1758: error: too
few arguments to function 'iwe_stream_add_point'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1777: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1777: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1777: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1777: error: too
few arguments to function 'iwe_stream_add_point'
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1795: error:
passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1795: error:
passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1795: error:
passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1795: error: too
few arguments to function 'iwe_stream_add_point'
make[3]: *** [/home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [/home/jbrad/src/madwifi-0.9.4/net80211] Error 2
make[1]: *** [_module_/home/jbrad/src/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25.11-97.fc9.x86_64'
make: *** [modules] Error 2
$

I'd appreciate any help on this.
Thanks,

-= Jim =-

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile Errors - madwifi-0.9.4

Kel Modderman
On Sunday 27 July 2008 14:50:53 Jim Bradbury wrote:
> Linux Platform: Fedora 9 Linux host 2.6.25.11-97.fc9.x86_64 #1 SMP Mon Jul 21
> 01:09:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
-

> cc1: warnings being treated as errors
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c: In function
> 'giwscan_cb':
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
> passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
> passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
> passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without
> a cast
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error: too
> few arguments to function 'iwe_stream_add_event'
-

This problem should be fixed in the yet-to-be-released 0.9.4 branch of madwifi
SVN. You can check it out and build from it:

svn co http://svn.madwifi.org/madwifi/branches/madwifi-0.9.4/ madwifi-0.9.4

Thanks, Kel.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile Errors - madwifi-0.9.4

Pavel Roskin
In reply to this post by Jim Bradbury-2
On Sat, 2008-07-26 at 23:50 -0500, Jim Bradbury wrote:
> Linux Platform: Fedora 9 Linux host 2.6.25.11-97.fc9.x86_64 #1 SMP Mon Jul 21
> 01:09:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
>
> Compiler: gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
>
> I changed config.h to autoconf.h in all the source files.

I tried compiling madwifi-0.9.4 with exactly that kernel, but I could
not reproduce the problem that would require that change.

The kernel build system forces including autoconf.h using the "-include"
switch, which should be equivalent to including autoconf.h for the
source files.  autoconf.h defines AUTOCONF_INCLUDED, which should
prevent inclusion of config.h.

What kind of error do you get it you try to compile unmodified MadWifi
0.9.4?  Could you please post the output of "make V=1" ?

We are considering making a new release 0.9.4.1, and it's important that
we get it right.

> CC [M]  /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.o
> cc1: warnings being treated as errors
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c: In function
> 'giwscan_cb':
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
> passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type

It's disappointing to see that Fedora chose to backport an incompatible
API change intended for Linux 2.6.27 before it even appeared in a
release candidate.  Anyway, this is addressed in the 0.9.4 branch in a
"backport-proof" way.

--
Regards,
Pavel Roskin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile Errors - madwifi-0.9.4

Jim Bradbury-2
In reply to this post by Jim Bradbury-2
Thanks, Kel,

I used subversion and checked out the version listed below and it compiled OK.

Thanks again,

-= Jim =-
-------- Original Message --------
Subject: Re: [Madwifi-users] Compile Errors - madwifi-0.9.4
Date: Sun, 27 Jul 2008 14:58:19 +1000
From: Kel Modderman <[hidden email]>
To: [hidden email]
CC: Jim Bradbury <[hidden email]>
References: <[hidden email]>

On Sunday 27 July 2008 14:50:53 Jim Bradbury wrote:
> Linux Platform: Fedora 9 Linux host 2.6.25.11-97.fc9.x86_64 #1 SMP Mon Jul 21
> 01:09:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
-

> cc1: warnings being treated as errors
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c: In function
> 'giwscan_cb':
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
> passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
> passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error:
> passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without
> a cast
> /home/jbrad/src/madwifi-0.9.4/net80211/ieee80211_wireless.c:1593: error: too
> few arguments to function 'iwe_stream_add_event'
-

This problem should be fixed in the yet-to-be-released 0.9.4 branch of madwifi
SVN. You can check it out and build from it:

svn co http://svn.madwifi.org/madwifi/branches/madwifi-0.9.4/ madwifi-0.9.4

Thanks, Kel.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile Errors - madwifi-0.9.4

Pavel Roskin
On Mon, 2008-07-28 at 11:37 -0500, Jim Bradbury wrote:
> Thanks, Kel,
>
> I used subversion and checked out the version listed below and it compiled OK.

Could you please confirm that you didn't need to change config.h to
autoconf.h in the source files?  If you had to, then it's a blocker for
0.9.4.1 release.

--
Regards,
Pavel Roskin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/madwifi-users