Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 4 guests | Time: 12:46
AVISynth - Problem with GCC 4.1
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
2 posts found.
 AVISynth - Problem with GCC 4.1
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I'm trying to compile AVISynth CVS 3.0 for paldo. During compiling I got this error:

Code[In neuem Fenster öffnen]
d variable 'synchronizer'
C: core/block/ownedholder.cpp
C: core/block/block.cpp
../../src/core/block/block.cpp:36: error: specialization of 'avs::block_::block_(int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:36: error: invalid function declaration
../../src/core/block/block.cpp:41: error: specialization of 'avs::owned_block::owned_block(const avs::PEnvironment&, int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:41: error: invalid function declaration
make: *** [core/block/block.o] Error 1
*** Error: make
*** ERROR: avisynth-x86-glibc-2.5-gcc-4.1-1-3.0-CVS-20070207-0


The error is known.

The needed files you can get from my 2nd Repo:

http://home.arcor.de/amnonssecondpaldorepo/notworking

The problem is in the avisynth/src/core/block.cpp-file.
Maybe we can write a fix for it.

Code[In neuem Fenster öffnen]
//avisynth includes
#include "../block.h"
#include "../ownedblock.h"
#include "holder/standard.h"
#include "holder/ownedstandard.h"


namespace avs {



template <>
block_<block::Align>::block_(int size, bool recycle)
: BaseBlockType( new block::holder::Standard(size, recycle) ) { }


template <>
owned_block<block::Align>::owned_block(PEnvironment const& env, int size, bool recycle)
: BaseBlockType( new block::holder::OwnedStandard(env, size, recycle) ) { }



} //namespace avs


Also I had to compile a special version of boost:

http://home.arcor.de/amnonssecondpaldorepo/notworking/specs/boost-avs.xml

Is there a way to join the actual boost with the new files or is this the best way?
Profile   Private Message   E-Mail
Created: 2007-02-08 02:25 | Modified: 2007-02-08 02:38 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: AVISynth - Problem with GCC 4.1
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I solved the problem my self.

... is there a better way restoring GCC?
Profile   Private Message   E-Mail
Created: 2007-02-08 23:00
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a