« Return to Thread: compile error zinf-2.2.5 base/include/player.h:164

Re: compile error zinf-2.2.5 base/include/player.h:164

by Kris Kvilekval :: Rate this Message:

Reply to Author | View in Thread

Please attach the contents of running ./configure

Also check the contents of /usr/include/assert.h
for some reason your compiler is not defining the proper assert.


On Sat, 2007-08-11 at 21:00 +0200, Yoshi Rokuko wrote:

> Hi,
>
> have a problem with compiling zinf so far, would be really nice if
> someone could give me a hint.
>
> configure worked well (1) but make stops with an error (2):
>
> 1.: (cat config.log)
> [...]
> bindir='${exec_prefix}/bin'
> build='i686-pc-linux-gnu'
> build_alias=''
> build_cpu='i686'
> build_os='linux-gnu'
> build_vendor='pc'
> datadir='${prefix}/share'
> exec_prefix='${prefix}'
> host='i686-pc-linux-gnu'
> host_alias=''
> host_cpu='i686'
> host_os='linux-gnu'
> host_vendor='pc'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> install_sh='/home/hiro/src/zinf-2.2.5/config/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='/var'
> mandir='${prefix}/man'
> oldincludedir='/usr/include'
> prefix='/usr'
> program_transform_name='s,x,x,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='/etc'
> target_alias=''
> [...]
> configure: exit 0
>
>
> 2.:
> [...]
> g++ -DHAVE_CONFIG_H -I. -I. -I../../config -D_REENTRANT
> -I../../base/include -I../../base/unix/include -I../../lib/utf8
> -I../../ui/include -I../../lmc/include -I../../io/include -I../../mdb
> -DLOCALEDIR=\"/usr/share/locale\" -DUNIX_LIBDIR=\"/usr/lib\"
> -DUNIX_DATADIR=\"/usr/share\" -Wall -O -MT bootstrap.lo -MD -MP
> -MF .deps/bootstrap.Tpo -c src/bootstrap.cpp  -fPIC -DPIC
> -o .libs/bootstrap.o ../../base/include/event.h:41: warning: 'class
> EventQueue' has virtual functions but non-virtual
> destructor ../../base/include/queue.h: In member function 'bool
> Queue<T>::IsEmpty()': ../../base/include/queue.h:165: error: there are
> no arguments to 'assert' that depend on a template parameter, so a
> declaration of 'assert' must be
> available ../../base/include/queue.h:165: error: (if you use
> '-fpermissive', G++ will accept your code, but allowing the use of an
> undeclared name is deprecated) ../../base/include/queue.h: In member
> function 'void Queue<T>::GetLock()': ../../base/include/queue.h:170:
> error: there are no arguments to 'assert' that depend on a template
> parameter, so a declaration of 'assert' must be
> available ../../base/include/queue.h: In member function 'void
> Queue<T>::ReleaseLock()': ../../base/include/queue.h:176: error: there
> are no arguments to 'assert' that depend on a template parameter, so a
> declaration of 'assert' must be
> available ../../base/include/properties.h: At global
> scope: ../../base/include/properties.h:65: warning: 'class
> PropertyWatcher' has virtual functions but non-virtual
> destructor ../../base/include/player.h:158: error: extra qualification
> 'Player::' on member 'SetEQData' ../../base/include/player.h:164:
> error: extra qualification 'Player::' on member 'SendVisBuf' make[2]:
> *** [bootstrap.lo] Fehler 1 make[2]: Leaving directory
> `/home/hiro/src/zinf-2.2.5/base/unix' make[1]: *** [all-recursive]
> Fehler 1 make[1]: Leaving directory `/home/hiro/src/zinf-2.2.5/base'
> make: *** [all-recursive] Fehler 1
>
> I'm not so sure weather these information are helpfull, but if i can
> make any tests or provide some more information i will gladly do this.
>
> I'm running a so far stable well behaving slackware 12.0 linux system.
>
> thank you in advance
>
> y0shi
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________ Zinf-support mailing list Zinf-support@... https://lists.sourceforge.net/lists/listinfo/zinf-support
--
Kristian Kvilekval
kris@...  http://www.cs.ucsb.edu/~kris w:805-893-2526 h:504-9756



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Zinf-support mailing list
Zinf-support@...
https://lists.sourceforge.net/lists/listinfo/zinf-support

 « Return to Thread: compile error zinf-2.2.5 base/include/player.h:164