Zinf with GCC-C++ 4.x

View: New views
2 Messages — Rating Filter:   Alert me  

Zinf with GCC-C++ 4.x

by Shashi-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All

I am getting errors when i am installing zinf 2.2.5 on Linux with kernel 2.6 and gcc 4. x.  Make command gives the following error.


../../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] Error 1
make[2]: Leaving directory `/opt/Misc/zinf-2.2.5/base/unix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/Misc/zinf-2.2.5/base'
make: *** [all-recursive] Error 1


Please , any one help me , how can solve this issue ?


Thanks & Regards,
Shashi Kanth,CISSP


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Zinf-support mailing list
Zinf-support@...
https://lists.sourceforge.net/lists/listinfo/zinf-support

Re: Zinf with GCC-C++ 4.x

by Kris Kvilekval :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Patches for the error can be found here.

http://arno.ece.ucsb.edu/hg/zinf

Specifically:

http://arno.ece.ucsb.edu/hg/zinf?cs=1681c6720f68


I will commit to CVS soon.


On Thu, 2006-10-12 at 15:25 +0530, Shashi Kanth Boddula wrote:

> Hi All
>
> I am getting errors when i am installing zinf 2.2.5 on Linux with kernel 2.6 and gcc 4. x.  Make command gives the following error.
>
>
> ../../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] Error 1
> make[2]: Leaving directory `/opt/Misc/zinf-2.2.5/base/unix'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/Misc/zinf-2.2.5/base'
> make: *** [all-recursive] Error 1
>
>
> Please , any one help me , how can solve this issue ?
>
>
> Thanks & Regards,
> Shashi Kanth,CISSP
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Zinf-support mailing list
Zinf-support@...
https://lists.sourceforge.net/lists/listinfo/zinf-support