Overview
Features
Download
Documentation
Community
Add-Ons & Services

Build 64 Bit Poco using Sun Studio

A general discussion forum.

Build 64 Bit Poco using Sun Studio

Postby adia » 14 Sep 2011, 08:07

Hello,

I am trying to build POCO library using SunOS-Sun Studio, I have added variable OSARCH_64BITS = 1 in build/config/SunOS-SunStudio got compilation error below:

POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -m64 -g -xs -D_DEBUG= -KPIC -c src/LocalDateTime.cpp -o /opt/register/repository/poco-1.4.1p1/Foundation/obj/SunOS/sun4v/debug_shared64/LocalDateTime.o
"src/LocalDateTime.cpp", line 295: Error: The function "localtime_r" must have a prototype.
1 Error(s) detected.
gmake[1]: *** [/opt/register/repository/poco-1.4.1p1/Foundation/obj/SunOS/sun4v/debug_shared64/LocalDateTime.o] Error 2
gmake[1]: Leaving directory `/opt/register/repository/poco-1.4.1p1/Foundation'
gmake: *** [Foundation-libexec] Error 2

OS system info:
5.10 Generic_142900-11 sun4v sparc SUNW,SPARC-Enterprise-T5220

However, compiling for 32BIT Poco is succesful.

Please help.
adia
 
Posts: 1
Joined: 14 Sep 2011, 07:59

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests