[
https://issues.apache.org/jira/browse/AXIS2C-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
S.Uthaiyashankar updated AXIS2C-1231:
-------------------------------------
Fix Version/s: 1.6.0
Assignee: S.Uthaiyashankar
> Build on Solaris 10 requires minor tweaks to get it to work
> -----------------------------------------------------------
>
> Key: AXIS2C-1231
> URL: https://issues.apache.org/jira/browse/AXIS2C-1231
> Project: Axis2-C
> Issue Type: Bug
> Components: build system (Unix/Linux)
> Affects Versions: 1.4.0
> Environment: Solaris 10 (UltraSPARC). GCC 4.3.1. Sun Assembler,
> Linker.
> Reporter: Jonathan Leffler
> Assignee: S.Uthaiyashankar
> Fix For: 1.6.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> In util/src/platforms/unix/thread_unix.c - lines 276-280:
> #ifdef AXIS2_SOLARIS_but_not_for_Solaris_10
> static const pthread_once_t once_init = { PTHREAD_ONCE_INIT };
> #else
> static const pthread_once_t once_init = PTHREAD_ONCE_INIT;
> #endif
> The compiler warned (and treated it as an error because of -Werror) about
> enclosing a scalar in braces.
> The workaround I used was to change the #ifdef from AXIS2_SOLARIS to
> AXIS2_SOLARIS_but_not_for_Solaris_10.
> Given the complaints I've seen in other bug entries for Solaris 9 issues,
> this problem is most likely in Solaris 10 only (or GCC 4.3.1 is fussier than
> other people's compilers).
> In util/src/hash.c, GCC 4.3.1 spots that the static (recursive) function
> axutil_hash_entry_free() is unused by any other function. I commented it out
> with the #ifdef shown.
> #ifdef USE_AXUTIL_HASH_ENTRY_FREE
> static void
> axutil_hash_entry_free(
> const axutil_env_t *env,
> axutil_hash_entry_t *hash_entry)
> {
> if (!hash_entry)
> return;
> if (hash_entry->next)
> {
> axutil_hash_entry_free(env, hash_entry->next);
> }
> AXIS2_FREE(env->allocator, hash_entry);
> return;
> }
> #endif /* USE_AXUTIL_HASH_ENTRY_FREE */
> I had linking problems - I needed to add -lsocket to a number of the
> programs' link lines. See a note appended to AXIS2C-638 and the related (but
> unannotated by me) AXIS2C-736.
> Finally, reading tools/codegen/javatool/README, someone had severe problems
> with the 'r' key on their keyboard.
> Typos noted include:
> aguments -> arguments
> geneation -> generation
> geneate -> generate
> expot -> export
> diectoy -> directory
> scipt -> script
> I'm deeply suspicious that:
> inteoptestdoclitpaametes --> interoptestdoclitparameters
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.