Re: Compile errors on Slackware-10.2



I'm coming further and further :))

Installed wireless-tools-28.pre10 without static libs like slackware uses by default.

But getting the following error now (this is with the patch Karl supplied):
In file included from /usr/include/linux/mii.h:12,
                 from NetworkManagerDevice.c:4442:
/usr/include/linux/if.h:95: error: redefinition of `struct ifmap'
/usr/include/linux/if.h:131: error: redefinition of `struct ifreq'
/usr/include/linux/if.h:181: error: redefinition of `struct ifconf'
make[3]: *** [NetworkManager-NetworkManagerDevice.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Hope someone can help ...

P.S. Sorry Karl, jumped too soon to conclussions :)

On 10/13/05, Theetjuh <theetjuh gmail com> wrote:
It doesn't ...


On 10/13/05, Karl Hegbloom <hegbloom pdx edu > wrote:
On Wed, 2005-10-12 at 23:43 +0200, Theetjuh wrote:
> I used a clean cvs ... then applied the patch ... then autogen and
> make.
>
> I'm getting another error then before, Dan Williams thought that it is
> because the slackware backend is outdated in src.

In the header (*.h), change any function prototypes like:

func();

... to:

func(void);

... and it should compile.

--
Karl Hegbloom < hegbloom pdx edu>




--


Greetz
Theetjuh



--


Greetz
Theetjuh

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]