You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Luca Rea (JIRA)" <ji...@apache.org> on 2013/12/12 17:05:07 UTC

[jira] [Commented] (TS-2346) tstop link error: undefined reference to `ink_atoi64(char const*)'

    [ https://issues.apache.org/jira/browse/TS-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846392#comment-13846392 ] 

Luca Rea commented on TS-2346:
------------------------------

rpmbuild always points to the same "/<rpmbuild_path>/SOURCE" directory, if you have copied the source files of traffic server into another directory you should do the following steps:

{noformat}
cd /<rpmbuild_path>
mv SOURCES OLD_TRAFFICSERVER_SOURCES
mkdir NEW_TRAFFICSERVER_SOURCES
ln -s NEW_TRAFFICSERVER_SOURCES SOURCES
{noformat}

then copy your files into the new linked directory "NEW_TRAFFICSERVER_SOURCES" and launch the rpmbuild command

> tstop link error:  undefined reference to `ink_atoi64(char const*)'
> -------------------------------------------------------------------
>
>                 Key: TS-2346
>                 URL: https://issues.apache.org/jira/browse/TS-2346
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Igor Galić
>            Assignee: Igor Galić
>         Attachments: debug.tar.gz
>
>
> I consistently get this failure on Linux with 4.1.x as soon as I change {{--prefix}}. No other {{configure}} option makes a difference.
> {code}
> make[1]: Leaving directory `/home/igalic/src/asf/trafficserver/plugins'
> Making all in tools
> make[1]: Entering directory `/home/igalic/src/asf/trafficserver/tools'
>   CXXLD    tstop/tstop
> ../mgmt/api/remote/.libs/libtsmgmt.so: undefined reference to `ink_atoi64(char const*)'
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[1]: *** [tstop/tstop] Error 1
> make[1]: Leaving directory `/home/igalic/src/asf/trafficserver/tools'
> make: *** [all-recursive] Error 1
> 2 igalic@levix ~/src/asf/trafficserver (git)-[4.1.2] % cd - 
> ~/src/asf/trafficserver/tools
> igalic@levix ~/src/asf/trafficserver/tools (git)-[4.1.2] % readelf -a ../mgmt/api/remote/.libs/libtsmgmt.so | c++filt | grep ink_atoi64
> 00000022cb00  004900000007 R_X86_64_JUMP_SLO 0000000000000000 ink_atoi64(char const*) + 0
>     73: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND ink_atoi64(char const*)
>    601: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND ink_atoi64(char const*)
> igalic@levix ~/src/asf/trafficserver/tools (git)-[4.1.2] % 
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)