SWScanner from AUR bujild issues?

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
98,654
Reaction score
31,317
Location
Niflheimr
Trying to install SWScanner from AUR with yaourt but I'm getting the following error,

Code:
/usr/include/qt3/qstring.h:365:94: warning: conversion to ‘unsigned int:30’ from ‘uint {aka unsigned int}’ may alter its value [-Wconversion]
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/usr/include/qt3 -I.  -I/usr/include/libshp  -DQT_THREAD_SUPPORT -D_FORTIFY_SOURCE=2 -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor  -MT ifaces.o -MD -MP -MF ".deps/ifaces.Tpo" -c -o ifaces.o ifaces.cpp; \
then mv -f ".deps/ifaces.Tpo" ".deps/ifaces.Po"; else rm -f ".deps/ifaces.Tpo"; exit 1; fi
ifaces.cpp: In function ‘int if_fetch(interface*)’:
ifaces.cpp:90:13: error: ‘close’ was not declared in this scope
     close(fd);
             ^
make[2]: *** [ifaces.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-****/aur-swscanner/src/swscanner-0.2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-****/aur-swscanner/src/swscanner-0.2.2'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build swscanner.
==> Restart building swscanner ? [y/N]
==> ----------------------------------
==>

The **** above is my edit.

Any ideas?

Oh, 32-bit
 
Last edited:
I quickly had a look at it and saw it is abandoned. The last official release was in 2006. I would move on if I were you.
 
Top
Sign up to the MyBroadband newsletter
X