cancel
Showing results for 
Search instead for 
Did you mean: 

Error Building Ultralite C++ library with version 12.0.1

Former Member
3,184

Hi, I just have upgraded to SQLAnywhere 12.0.1 Build 3152. My problem scenario is like..
1. I was getting ULDatabaseManager::OpenConnection() crash issue with prior version which was due to the compatibility issue for armv7 architecture and supposed to be fixed in this release.
2. Now libulrt.a is not even getting build from the build.sh script shipped with it.It is giving errors like:
a) In file included from db57b1d9cd.h:10In file included from 24c8fe3eee.h:349, from ae6be1f105.h:8, from be5af043d7.h:8, from 72cf34bcc2.c:19: 21df866d9e.h:10:20: error: stdlib.h: No such file or directory.
b) /XCode4.2_iOS5/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/../lib/gcc/arm-apple-darwin10/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h
c) be5af043d7.h:80: error: ‘memcpy’ was not declared in this scope.
i have searched it everywhere but didn't get any solution. Does anyone have faced this issue? Please help if you got it correct.
Thanks in advance

VolkerBarth
Contributor
0 Kudos

FWIW, 12.0.1.3152 is the 12.0.1 GA version from Feb 2011, so there are more than 12 monthes of bugfixes available in newer EBFs.

Therefore I would strongly encourage to use a newer EBF, cf. this list from Breck...

Possibly this FAQ on XCode 4.2 may lead to further suggestions - but that is a very wild guess...

Accepted Solutions (1)

Accepted Solutions (1)

Indeed, please update to 12.0.1.3577.

If your issue is not resolved with that build (and it may not be), please post the full command text (compiler invocation from make) which produces those errors.

Former Member
0 Kudos

Yes it works with 12.0.1.3577. Thanks a lot to all

Answers (1)

Answers (1)

jeff_albion
Advisor
Advisor

See issue CR #688468 - XCode 4.2 compiler support was not fully correct until 12.0.1.3486 and after.

See the EBF/Downloads page for 12.0.1 updates: http://downloads.sybase.com/swd/summary.do?baseprod=144&client=ianywhere&timeframe=0


For others running XCode 4.2 with older devices (armv6), also see CR #698048 regarding a floating-point compiler issue (resolved in 12.0.1.3572).