You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "S.Uthaiyashankar (JIRA)" <ji...@apache.org> on 2008/12/22 12:34:44 UTC

[jira] Commented: (AXIS2C-638) Linker error while trying to bulid Axis/C on Solaris

    [ https://issues.apache.org/jira/browse/AXIS2C-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658511#action_12658511 ] 

S.Uthaiyashankar commented on AXIS2C-638:
-----------------------------------------

Added AC_CHECK_LIB(socket, socket)

> Linker error while trying to bulid Axis/C on Solaris
> ----------------------------------------------------
>
>                 Key: AXIS2C-638
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-638
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system
>         Environment: SunOS 5.9 sparc
> gcc version 4.1.1
> libtool (GNU libtool) 1.5.22
> automake (GNU automake) 1.9.6
> autoconf (GNU Autoconf) 2.61
>            Reporter: velmurugan
>            Assignee: S.Uthaiyashankar
>             Fix For: 1.6.0
>
>
> We need to evaluate Axis/C , so we neet to build Axis/C source on Linux, Solaris, AIX and HPUX.
> My buddy has built the code already on Linux. Somehow i overcome the compilation errors.
> I am getting some linker errors. I may need to link lsocket or someother library somewhere.
> Really dont know which Makefile i need to edit. Pasted the console ouput below.
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `recv'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `connect'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `socket'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `send'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `accept'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `bind'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `inet_addr'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `setsockopt'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `scandir'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `alphasort'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `listen'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `inet_ntoa'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `shutdown'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `gethostbyname'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `getpeername'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `ether_ntoa'
> ../../../../../../util/src/.libs/libaxutil.so: undefined reference to `getsockname'
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `axis2_http_server'
> Current working directory /usr/velms/axis2c-src-1.0.0/src/core/transport/http/server/simple_axis2_server

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.