[Goodies-dev] [Wavelan] compile error

Maximilian Schleiss maxschleiss at bluewin.ch
Mon Jan 8 00:20:12 CET 2007


James Westby wrote:
> On (07/01/07 23:57), Maximilian Schleiss wrote:
>   
>> The message disappeared but the compiling still stops with this error 
>> but that could be related to something else, maybe my xubuntu setup...
>>     
>
> I don't see that here, and I'm on Debian, so it shouldn't be that
> different. I assume you are just doing a simple compile from a checkout.
> Do you have any options/patches in use?
>
>   
I have no special patch or whatever change to your code. I use a simple 
checkout as you wrote and compile it like the other modules. Maybe that 
I miss some devel package that should be installed...

>> In file included from wi_linux.c:42:
>> /usr/include/linux/wireless.h:646: error: expected 
>> specifier-qualifier-list before ‘__s32’
>>     
>
> This does use the kernel's typedefs for signed/unsigned sized types, so
> I wonder if the compliler can't work out what they are. I don't know why
> that would be different on your system either.
>
> Have you previously compiled the plugin? I made the first changes today
> for a while, so I might have broken something, but I'm not sure why.
>
>   
I compiled today for the first time but it failed as I wrote. Now the 
error message seems to have changed:

cd . && /bin/bash 
/home/maximilian/newsvn/goodies/xfce4-wavelan-plugin/missing --run 
autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory 
`/home/maximilian/newsvn/goodies/xfce4-wavelan-plugin'
Making all in panel-plugin
make[2]: Entering directory 
`/home/maximilian/newsvn/goodies/xfce4-wavelan-plugin/panel-plugin'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DG_LOG_DOMAIN=\"xfce4-wavelan-plugin\" 
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"   -I/usr/include/xfce4/ 
-I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/cairo 
-I/usr/include/freetype2 -I/usr/include/libpng12 
-I/usr/include/atk-1.0   -g -O2 -g3 -Werror -Wall 
-DXFCE_DISABLE_DEPRECATED -MT xfce4_wavelan_plugin-wavelan.o -MD -MP -MF 
".deps/xfce4_wavelan_plugin-wavelan.Tpo" -c -o 
xfce4_wavelan_plugin-wavelan.o `test -f 'wavelan.c' || echo 
'./'`wavelan.c; \
        then mv -f ".deps/xfce4_wavelan_plugin-wavelan.Tpo" 
".deps/xfce4_wavelan_plugin-wavelan.Po"; else rm -f 
".deps/xfce4_wavelan_plugin-wavelan.Tpo"; exit 1; fi
cc1: warnings being treated as errors
wavelan.c: In function ‘wavelan_new’:
wavelan.c:303: warning: unused variable ‘size’
make[2]: *** [xfce4_wavelan_plugin-wavelan.o] Error 1
make[2]: Leaving directory 
`/home/maximilian/newsvn/goodies/xfce4-wavelan-plugin/panel-plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/maximilian/newsvn/goodies/xfce4-wavelan-plugin'
make: *** [all] Error 2

HTH

> Thanks,
>
> James
>
>   
Max.




More information about the Goodies-dev mailing list