You are not logged in.

#1 2009-05-27 11:31:52

otti
Member
Registered: 2006-12-18
Posts: 64

[Solved] Referencer on x86_64 does't build

Hi,

I tried to install Referencer (http://aur.archlinux.org/packages.php?ID=15779), but the compilation via makepkg fails:

In file included from /usr/include/gnome-vfsmm-2.6/libgnomevfsmm.h:47,
from Linker.C:6:
/usr/include/gnome-vfsmm-2.6/libgnomevfsmm/monitor-handle.h:49: warning: 'Gnome::Vfs::MonitorHandle' has a field 'Gnome::Vfs::MonitorHandle::proxy_' whose type uses the anonymous namespace
In file included from RefWindow.h:22,
from Linker.C:12:
Plugin.h:60: error: 'uint64_t' does not name a type
Plugin.h: In member function 'void PluginCapability::add(PluginCapability::Identifier)':
Plugin.h:29: error: 'mask_' was not declared in this scope
Plugin.h: In member function 'bool PluginCapability::has(PluginCapability::Identifier) const':
Plugin.h:33: error: 'mask_' was not declared in this scope
Plugin.h: In member function 'bool PluginCapability::hasAny(PluginCapability) const':
Plugin.h:37: error: 'mask_' was not declared in this scope
Plugin.h:37: error: 'const class PluginCapability' has no member named 'mask_'
Plugin.h: In member function 'bool PluginCapability::empty() const':
Plugin.h:41: error: 'mask_' was not declared in this scope
Plugin.h: In constructor 'PluginCapability::PluginCapability()':
Plugin.h:45: error: 'mask_' was not declared in this scope
Plugin.h: In member function 'std::vector<PluginCapability::Identifier, std::allocator<PluginCapability::Identifier> > PluginCapability::get()':
Plugin.h:51: error: 'uint64_t' was not declared in this scope
Plugin.h:51: error: expected ';' before 'i'
Plugin.h:51: error: 'i' was not declared in this scope
Plugin.h:51: error: 'mask_' was not declared in this scope
In file included from Linker.C:12:
RefWindow.h: At global scope:
RefWindow.h:24: warning: declaration 'class Gtk::TreePath' does not declare anything
RefWindow.h:25: warning: declaration 'class Glib::ustring' does not declare anything
make[2]: *** [Linker.o] Error 1
make[2]: Leaving directory `/var/abs/local/referencer-hg/src/referencer-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/referencer-hg/src/referencer-build'
make: *** [all] Error 2
==> ERROR: Build Failed.

Is anybody able to build referencer for x86_64?

Thanks for any help.

Last edited by otti (2009-05-27 22:19:42)

Offline

#2 2009-05-27 15:58:23

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [Solved] Referencer on x86_64 does't build

Looks like a GCC 4.4.0 error.

GCC had a page with advice on fixing code for 4.4.0, but I seem to have lost it...

Offline

#3 2009-05-27 16:35:03

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Referencer on x86_64 does't build

Ranguvar wrote:

Looks like a GCC 4.4.0 error.

GCC had a page with advice on fixing code for 4.4.0, but I seem to have lost it...

http://www.archlinux.org/news/447/


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-05-27 16:42:29

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [Solved] Referencer on x86_64 does't build

uint64_t ... add #include <stdint.h> in the code wink

Offline

#5 2009-05-27 22:19:23

otti
Member
Registered: 2006-12-18
Posts: 64

Re: [Solved] Referencer on x86_64 does't build

Thanks guys.

Offline

Board footer

Powered by FluxBB