Hello All,

Perhaps this was some kind of 'idiot-proofing' that the Barry developers
snuck into the source to test us amateurs...

*iconv.cc: In member function ‘std::string Barry::IConverter::Convert(void*,
const std::string&) const’:*
*iconv.cc:95: error: ‘ICONV_CONST’ was not declared in this scope*
*iconv.cc:95: error: expected ‘)’ before ‘char’*
*iconv.cc:89: warning: unused variable ‘in’*
*make[2]: *** [iconv.lo] Error 1*
*make[2]: Leaving directory `/usr/src/barry/src'*
*make[1]: *** [all-recursive] Error 1*
*make[1]: Leaving directory `/usr/src/barry'*
*make: *** [all] Error 2*

Regardless, if you want to 'make' then 'make install' just as the docs
instruct, you must add the following to src/iconv.h

*#ifndef __BARRY_ICONV_H__*
*#define __BARRY_ICONV_H__*

*#define ICONV_CONST*    <-------------------------------simply declare it
in this scope
*
*
*#include "dll.h"*
*#include "data.h"*
*#include <iconv.h>*
*#include <string>*

Now you'll be able to 'make' and 'make install' and get on with your lives.

I'm configuring, making, installing on my Fedora 13 machine...but I don't
think this issue is OS related.

thanks again,
Stephen 'palmbardier' Palmateer
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to