GoogleCodeArchive / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
Apache License 2.0
0 stars 0 forks source link

Problems with compiling #392

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Building the package with gcc 4.7.2
2. Fedora 17

What is the expected output? What do you see instead?

Should compile and build the package fine. But huge errors pop up. the last 
part of the error log is given in the additional information tag

What version of the product are you using? On what operating system?

0.11.2 latest download (I also tried compiling form the svn source) on Fedora 17

Please provide any additional information below.

I dont know what is the error and the workaround. I spend a whole day on this! 
:( I could find out from the internet that for the Debian has a modification 
was underway/ready (0.11.2-6). But I am using Fedora 17 and I dont know how to 
fix this. I am also using GCC 4.7.2 (if it might be the problem while compiling)

"
..
..
" .. .. ../../ggadget/scriptable_enumerator.h:86:5: note: use 
'this->RegisterProperty?' instead ../../ggadget/scriptable_enumerator.h: In 
instantiation of 'void ggadget::ScriptableEnumerator?<E, Wrapper, Param, 
ClassId?>::DoClassRegister?() E = ggadget::framework::FoldersInterface; Wrapper 
= ggadget::framework::ScriptableFileSystem::Impl::ScriptableFolder; Param = 
ggadget::framework::ScriptableFileSystem::Impl*; long unsigned int ClassId = 
7860059052583358941ul?': ../../ggadget/scriptable_file_system.cc:957:1: 
required from here ../../ggadget/scriptable_enumerator.h:71:5: error: 
'RegisterMethod?' was not declared in this scope, and no declarations were 
found by argument-dependent lookup at the point of instantiation [-fpermissive] 
../../ggadget/scriptable_enumerator.h:71:5: note: declarations in dependent 
base 'ggadget::ScriptableHelper?<ggadget::ScriptableInterface?>' are not found 
by unqualified lookup ../../ggadget/scriptable_enumerator.h:71:5: note: use 
'this->RegisterMethod?' instead ../../ggadget/scriptable_enumerator.h:75:5: 
error: 'RegisterMethod?' was not declared in this scope, and no declarations 
were found by argument-dependent lookup at the point of instantiation 
[-fpermissive] ../../ggadget/scriptable_enumerator.h:75:5: note: declarations 
in dependent base 'ggadget::ScriptableHelper?<ggadget::ScriptableInterface?>' 
are not found by unqualified lookup ../../ggadget/scriptable_enumerator.h:75:5: 
note: use 'this->RegisterMethod?' instead 
../../ggadget/scriptable_enumerator.h:79:5: error: 'RegisterMethod?' was not 
declared in this scope, and no declarations were found by argument-dependent 
lookup at the point of instantiation [-fpermissive] 
../../ggadget/scriptable_enumerator.h:79:5: note: declarations in dependent 
base 'ggadget::ScriptableHelper?<ggadget::ScriptableInterface?>' are not found 
by unqualified lookup ../../ggadget/scriptable_enumerator.h:79:5: note: use 
'this->RegisterMethod?' instead ../../ggadget/scriptable_enumerator.h:83:5: 
error: 'RegisterMethod?' was not declared in this scope, and no declarations 
were found by argument-dependent lookup at the point of instantiation 
[-fpermissive] ../../ggadget/scriptable_enumerator.h:83:5: note: declarations 
in dependent base 'ggadget::ScriptableHelper?<ggadget::ScriptableInterface?>' 
are not found by unqualified lookup ../../ggadget/scriptable_enumerator.h:83:5: 
note: use 'this->RegisterMethod?' instead 
../../ggadget/scriptable_enumerator.h:86:5: error: 'RegisterProperty?' was not 
declared in this scope, and no declarations were found by argument-dependent 
lookup at the point of instantiation [-fpermissive] 
../../ggadget/scriptable_enumerator.h:86:5: note: declarations in dependent 
base 'ggadget::ScriptableHelper?<ggadget::ScriptableInterface?>' are not found 
by unqualified lookup ../../ggadget/scriptable_enumerator.h:86:5: note: use 
'this->RegisterProperty?' instead make3?: 
[libggadget-1.0_la-scriptable_file_system.lo] Error 1 make3?: Leaving directory 
`/home/abid/Downloads/google-gadgets-for-linux-try/build/ggadget' make2?: 
[install-recursive] Error 1 make2?: Leaving directory 
`/home/abid/Downloads/google-gadgets-for-linux-try/build/ggadget' make1?: 
install? Error 2 make1?: Leaving directory 
`/home/abid/Downloads/google-gadgets-for-linux-try/build/ggadget' make: 
[install-recursive] Error 1

"

Original issue reported on code.google.com by abidrahm...@gmail.com on 6 Dec 2012 at 11:25