Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#425 closed defect (fixed)

Compile error on Solaris 10 / SPARC

Reported by: Tom Owned by: Olly Betts
Priority: normal Milestone: 1.1.4
Component: Other Version: 1.1.3
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Solaris

Description

Building xapian-core 1.1.3 on Solaris 10 / SPARC / g++ 3.4.3, make fails with:

In file included from backends/chert/chert_version.h:27,

from backends/chert/chert_database.h:36, from backends/dbfactory.cc:38:

./common/safeuuid.h: In function `void uuid_unparse_lower(const uchar_t*, char*)': ./common/safeuuid.h:34: error: invalid conversion from const uchar_t*' to uchar_t*' ./common/safeuuid.h:34: error: initializing argument 1 of `void uuid_unparse(uchar_t*, char*)' ./common/safeuuid.h:37: error: invalid type argument of `unary *' In file included from backends/chert/chert_database.h:36,

from backends/dbfactory.cc:38:

backends/chert/chert_version.h: In member function `bool ChertVersion::set_uuid_string(const std::string&)': backends/chert/chert_version.h:78: error: invalid conversion from const char*' to char*' backends/chert/chert_version.h:78: error: initializing argument 1 of `int uuid_parse(char*, uchar_t*)' In file included from backends/flint/flint_database.h:35,

from backends/dbfactory.cc:41:

backends/flint/flint_version.h: In member function `bool FlintVersion::set_uuid_string(const std::string&)': backends/flint/flint_version.h:83: error: invalid conversion from const char*' to char*' backends/flint/flint_version.h:83: error: initializing argument 1 of `int uuid_parse(char*, uchar_t*)' make[2]: * [backends/dbfactory.lo] Error 1 make[2]: Leaving directory `/opt/customer/home/csuser/build/xapian-core-1.1.2' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/opt/customer/home/csuser/build/xapian-core-1.1.2' gmake: * [all] Error 2

Change History (2)

comment:1 by Olly Betts, 14 years ago

Milestone: 1.1.4
Resolution: fixed
Status: newclosed

I already fixed this in trunk (after 1.1.3) in November - see r13577 and r13582.

comment:2 by Olly Betts, 14 years ago

Version: 1.1.3
Note: See TracTickets for help on using tickets.