You are not logged in.

#1 2012-05-16 13:00:47

814ckf0x
Member
Registered: 2012-05-16
Posts: 9

problem installing hfpforlinux

Command:

yaourt -S hfpforlinux

output: (tail)

Making all in test
make[2]: Entering directory `/tmp/yaourt-tmp-blackfox/aur-hfpforlinux/src/trunk/test'
g++ -DHAVE_CONFIG_H -I. -I.. -I../include -include config.h    -Wshadow -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -MT soundtest.o -MD -MP -MF .deps/soundtest.Tpo -c -o soundtest.o soundtest.cpp
soundtest.cpp: In function ‘int main(int, char**)’:
soundtest.cpp:45:16: warning: variable ‘soundio_format’ set but not used [-Wunused-but-set-variable]
soundtest.cpp:48:17: warning: variable ‘fltp’ set but not used [-Wunused-but-set-variable]
In file included from ../include/libhfp/soundio.h:26:0,
                 from soundtest.cpp:12:
../include/libhfp/events.h: In instantiation of ‘void libhfp::CallbackAdapter<TRet, InArgset>::Invoke(InArgset&) [with TRet = void; InArgset = libhfp::ArgSet<libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil>]’:
../include/libhfp/events.h:774:4:   required from here
../include/libhfp/events.h:440:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
mv -f .deps/soundtest.Tpo .deps/soundtest.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++ -Wshadow -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o soundtest soundtest.o -L../libhfp -lhfp -lbluetooth    -lasound   -laudiofile   -lspeexdsp -lpthread   
libtool: link: g++ -Wshadow -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o soundtest soundtest.o  -L../libhfp -lhfp -lbluetooth -lasound -laudiofile -lspeexdsp -lpthread
g++ -DHAVE_CONFIG_H -I. -I.. -I../include -include config.h    -Wshadow -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -MT timertest.o -MD -MP -MF .deps/timertest.Tpo -c -o timertest.o timertest.cpp
In file included from timertest.cpp:30:0:
../include/libhfp/events.h: In instantiation of ‘void libhfp::CallbackAdapter<TRet, InArgset>::Invoke(InArgset&) [with TRet = void; InArgset = libhfp::ArgSet<libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil>]’:
../include/libhfp/events.h:774:4:   required from here
../include/libhfp/events.h:440:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../include/libhfp/events.h: In instantiation of ‘void libhfp::Callback<void, TA1>::Register(TargT*, void (TargT::*)(TA1)) [with TargT = TestObj; TA1 = libhfp::TimerNotifier*]’:
timertest.cpp:50:40:   required from here
../include/libhfp/events.h:810:3: error: ‘RegisterDirect’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../include/libhfp/events.h:810:3: note: declarations in dependent base ‘libhfp::CallbackAdapter<void, libhfp::ArgSet<libhfp::TimerNotifier*, libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil, libhfp::Nil> >’ are not found by unqualified lookup
../include/libhfp/events.h:810:3: note: use ‘this->RegisterDirect’ instead
make[2]: *** [timertest.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-blackfox/aur-hfpforlinux/src/trunk/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-blackfox/aur-hfpforlinux/src/trunk'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build hfpforlinux.
==> Restart building hfpforlinux ? [y/N]
==> ------------------------------------
==> |

Offline

Board footer

Powered by FluxBB