|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
compile error zinf-2.2.5 base/include/player.h:164Hi,
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 -- psyc://psyced.org/~y0shi Linux Empowers People ------------------------------------------------------------------------- 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 |
|
|
Re: compile error zinf-2.2.5 base/include/player.h:164Please 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 |
|
|
Re: compile error zinf-2.2.5 base/include/player.h:164Hi, can I send files to the list?
I'm not sure about that, so I include the text inline. Thank you! /usr/include/assert.h /* Copyright (C) 1991,1992,1994-2001,2003,2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ /* * ISO C99 Standard: 7.2 Diagnostics <assert.h> */ #ifdef _ASSERT_H # undef _ASSERT_H # undef assert # undef __ASSERT_VOID_CAST # ifdef __USE_GNU # undef assert_perror # endif #endif /* assert.h */ #define _ASSERT_H 1 #include <features.h> #if defined __cplusplus && __GNUC_PREREQ (2,95) # define __ASSERT_VOID_CAST static_cast<void> #else # define __ASSERT_VOID_CAST (void) #endif /* void assert (int expression); If NDEBUG is defined, do nothing. If not, and EXPRESSION is zero, print an error message and abort. */ #ifdef NDEBUG # define assert(expr) (__ASSERT_VOID_CAST (0)) /* void assert_perror (int errnum); If NDEBUG is defined, do nothing. If not, and ERRNUM is not zero, print an error message with the error text for ERRNUM and abort. (This is a GNU extension.) */ # ifdef __USE_GNU # define assert_perror(errnum) (__ASSERT_VOID_CAST (0)) # endif #else /* Not NDEBUG. */ __BEGIN_DECLS /* This prints an "Assertion failed" message and aborts. */ extern void __assert_fail (__const char *__assertion, __const char *__file, unsigned int __line, __const char *__function) __THROW __attribute__ ((__noreturn__)); /* Likewise, but prints the error text for ERRNUM. */ extern void __assert_perror_fail (int __errnum, __const char *__file, unsigned int __line, __const char *__function) __THROW __attribute__ ((__noreturn__)); /* The following is not at all used here but needed for standard compliance. */ extern void __assert (const char *__assertion, const char *__file, int __line) __THROW __attribute__ ((__noreturn__)); __END_DECLS # define assert(expr) \ ((expr) \ ? __ASSERT_VOID_CAST (0) \ : (__assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION), \ __ASSERT_VOID_CAST (0))) # ifdef __USE_GNU # define assert_perror(errnum) \ (!(errnum) \ ? __ASSERT_VOID_CAST (0) \ : (__assert_perror_fail ((errnum), __FILE__, __LINE__, __ASSERT_FUNCTION), \ __ASSERT_VOID_CAST (0))) # endif /* Version 2.4 and later of GCC define a magical variable `__PRETTY_FUNCTION__' which contains the name of the function currently being defined. This is broken in G++ before version 2.6. C9x has a similar variable called __func__, but prefer the GCC one since it demangles C++ function names. */ # if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4) # define __ASSERT_FUNCTION __PRETTY_FUNCTION__ # else # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L # define __ASSERT_FUNCTION __func__ # else # define __ASSERT_FUNCTION ((__const char *) 0) # endif # endif #endif /* NDEBUG. */ ---------------------------------------------------------------------- ./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --with-musicbrainz-prefix=/usr \ --with-id3lib-prefix=/usr checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... (cached) yes checking for gm4... no checking for m4... m4 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for strerror in -lcposix... no checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i486-slackware-linux/bin/ld checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for a BSD-compatible install... /usr/bin/ginstall -c checking for perl... perl checking for nasm... nasm checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/i486-slackware-linux/bin/ld checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ANSI C header files... (cached) yes checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking linux/cdrom.h usability... yes checking linux/cdrom.h presence... yes checking for linux/cdrom.h... yes checking linux/ucdrom.h usability... no checking linux/ucdrom.h presence... no checking for linux/ucdrom.h... no checking sys/cdio.h usability... no checking sys/cdio.h presence... no checking for sys/cdio.h... no checking io/cam/cdrom.h usability... no checking io/cam/cdrom.h presence... no checking for io/cam/cdrom.h... no checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking sys/ucred.h usability... no checking sys/ucred.h presence... no checking for sys/ucred.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking for unistd.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for getmntinfo... no checking for shmget... yes checking for shmat... yes checking for shmdt... yes checking for semget... yes checking for semctl... yes checking for shmctl... yes checking for snprintf... yes checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... yes checking for working alloca.h... yes checking for alloca... yes checking accept ARG2 => struct sockaddr ARG3 => socklen_t ... ok checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for long... yes checking size of long... 4 checking for connect in -lsocket... no checking for gethostbyname in -lnsl... yes checking for pthread_create in -lpthread... yes checking for compiler with -mt flag... no checking for sched_get_priority_max in -lrt... yes checking for pthread_yield... yes checking for sched_yield... yes checking for pthread_sigmask... yes checking for pthread_key_create... yes checking for pthread_mutexattr_setkind_np... yes checking for pthread_condattr_setkind_np... no checking for pthread_condattr_settype... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking gdbm.h usability... yes checking gdbm.h presence... yes checking for gdbm.h... yes checking for gdbm_open in -lgdbm... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes Using x86 optimizations checking musicbrainz/mb_c.h usability... yes checking musicbrainz/mb_c.h presence... yes checking for musicbrainz/mb_c.h... yes checking for mb_GetVersion in -lmusicbrainz... yes checking id3.h usability... yes checking id3.h presence... yes checking for id3.h... yes checking for ID3Tag_AddFrame in -lid3... yes checking for Vorbis... yes checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 0.9.0... found. checking for snd_ctl_open in -lasound... yes checking for esd-config... /usr/bin/esd-config checking for ESD - version >= 0.2.12... yes checking for artsc-config... /usr/bin/artsc-config checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for initscr in -lncurses... yes checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.10.13) checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.12.12) configure: Not building the CORBA UI plugin configure: Not building the XOSD plugin configure: Not building the rio pmp300 plugin configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/http/Makefile config.status: creating lib/utf8/Makefile config.status: creating lib/unzip/Makefile config.status: creating lib/xml/Makefile config.status: creating io/Makefile config.status: creating io/local/Makefile config.status: creating io/cd/Makefile config.status: creating io/alsa/Makefile config.status: creating io/esound/Makefile config.status: creating io/arts/Makefile config.status: creating io/http/Makefile config.status: creating io/dsound/Makefile config.status: creating io/obs/Makefile config.status: creating io/soundcard/Makefile config.status: creating io/soundcard/unix/Makefile config.status: creating io/soundcard/unix/irix/Makefile config.status: creating io/soundcard/unix/linux/Makefile config.status: creating io/soundcard/unix/qnx/Makefile config.status: creating io/soundcard/unix/solaris/Makefile config.status: creating io/wavout/Makefile config.status: creating base/Makefile config.status: creating base/unix/Makefile config.status: creating mdb/Makefile config.status: creating plm/Makefile config.status: creating plm/metadata/Makefile config.status: creating plm/metadata/vorbis/Makefile config.status: creating plm/metadata/id3lib/Makefile config.status: creating plm/metadata/misc/Makefile config.status: creating plm/metadata/mbcd/Makefile config.status: creating plm/playlist/Makefile config.status: creating plm/playlist/m3u/Makefile config.status: creating plm/playlist/pls/Makefile config.status: creating plm/portable/Makefile config.status: creating plm/portable/pmp300/Makefile config.status: creating lmc/Makefile config.status: creating lmc/xingmp3/Makefile config.status: creating lmc/vorbis/Makefile config.status: creating lmc/cd/Makefile config.status: creating lmc/wav/Makefile config.status: creating ui/Makefile config.status: creating ui/cmdline/Makefile config.status: creating ui/mpg123/Makefile config.status: creating ui/ncurses/Makefile config.status: creating ui/zinf/Makefile config.status: creating ui/zinf/tools/Makefile config.status: creating ui/musicbrowser/Makefile config.status: creating ui/musicbrowsermm/Makefile config.status: creating ui/download/Makefile config.status: creating ui/corba/Makefile config.status: creating ui/lcd/Makefile config.status: creating ui/irman/Makefile config.status: creating ui/xosd/Makefile config.status: creating ui/albumart/Makefile config.status: creating ftc/Makefile config.status: creating ftc/kjofol/Makefile config.status: creating ftc/winamp/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating themes/Makefile config.status: creating doc/Makefile config.status: creating doc/Doxyfile config.status: creating config/config.h config.status: config/config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile Am Sun, 12 Aug 2007 11:55:47 -0700 schrieb Kristian Kvilekval <kris@...>: > 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. -- psyc://psyced.org/~y0shi Linux Empowers People ------------------------------------------------------------------------- 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 |
| Free Forum Powered by Nabble | Forum Help |