Forums : The Ohcount Project

Cant Build Ohcount '-Wno-pointer-to-int-cast' Error

Hi i just downloaded Ohcount 3.0 archive i read the readme and installed 'bash, pcre, gcc, ragel and swig' when i type './build' it eventually stops and says:

'Building src/parser.c (will take a while) cc1: error: unrecognized command line option "-Wno-pointer-to-int-cast"'

Does anyone know whats wrong?

uname -r: 2.6.18-93.cc4

/proc/version: Linux version 2.6.18-93.cc4 (darryl@cc4devel.lan) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 SMP Mon Aug 11 20:37:16 EDT 2008

Thanks.

875a87d0b454d4b2c97580b3abdc0531?&s=32&rating=pg&d=https%3a%2f%2fwww

fuzeman

over 5 years ago
 

Hi fuzeman,

It seems you have an old version of gcc. 4.1.2 is the first version that I can confirm has this option.

If you're unable to update your gcc, you might have more luck with the repo available at: http://github.com/andy2/ohcount/commit/9362eb0916da33ddc102401b24faf01f990e9f0f It's an incomplete port to an autoconf based build system.

E9c87325cbbdc362eb1ee7802e9ade95?&s=32&rating=pg&d=https%3a%2f%2fwww

Andy Verprauskus

over 5 years ago
 

Post a Response