Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Compile 0.11.2 Centos 7 Minimal - libbitcoin_common_a-neoscrypt.o Error

    Technical Development
    2
    5
    2794
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AcidD
      AcidD Moderators last edited by

      Hi Guys,

      I’m trying to compile FTC 0.11.2 to help Lizhi with his test node.

      I’ve managed to compile it using --disable-hardening

      below is the error I was getting before using the above switch.

      [root@ftc-seeder Feathercoin-0.11.2]# make
      Making all in src
      make[1]: Entering directory `/usr/src/Feathercoin-0.11.2/src'
      make[2]: Entering directory `/usr/src/Feathercoin-0.11.2/src'
      make[3]: Entering directory `/usr/src/Feathercoin-0.11.2/src/secp256k1'
      make[3]: Leaving directory `/usr/src/Feathercoin-0.11.2/src/secp256k1'
        CXXLD    feathercoind
      /usr/bin/ld: libbitcoin_common.a(libbitcoin_common_a-neoscrypt.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
      libbitcoin_common.a: could not read symbols: Bad value
      collect2: error: ld returned 1 exit status
      make[2]: *** [feathercoind] Error 1
      make[2]: Leaving directory `/usr/src/Feathercoin-0.11.2/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/usr/src/Feathercoin-0.11.2/src'
      make: *** [all-recursive] Error 1
      [root@ftc-seeder Feathercoin-0.11.2]# make install
      
      • FTC Block Explorer + API @ https://fsight.chain.tips
      • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
      • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
      • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

      1 Reply Last reply Reply Quote 0
      • AcidD
        AcidD Moderators last edited by

        After compiling and running, i have the below in my logfile

        2016-03-30 20:18:01 LoadBlockIndexDB: transaction index disabled
        2016-03-30 20:18:01 LoadBlockIndexDB: hashBestChain=8e8b634d2f2800398261b7adcfbb6ace490e1746e62123ec2bf8010f9fc98b17 height=0 date=2014-03-31 08:37:41 progress=0.000099
        2016-03-30 20:18:01 init message: Verifying blocks...
        2016-03-30 20:18:01  block index              99ms
        2016-03-30 20:18:01 init message: Loading wallet...
        2016-03-30 20:18:01 nFileVersion = 110201
        2016-03-30 20:18:01 Keys: 101 plaintext, 0 encrypted, 101 w/ metadata, 101 total
        2016-03-30 20:18:01  wallet                   21ms
        2016-03-30 20:18:01 init message: Activating best chain...
        2016-03-30 20:18:01 mapBlockIndex.size() = 1
        2016-03-30 20:18:01 nBestHeight = 0
        2016-03-30 20:18:01 setKeyPool.size() = 100
        2016-03-30 20:18:01 mapWallet.size() = 0
        2016-03-30 20:18:01 mapAddressBook.size() = 1
        2016-03-30 20:18:01 init message: Loading addresses...
        2016-03-30 20:18:01 Loaded 1 addresses from peers.dat  0ms
        2016-03-30 20:18:01 init message: Done loading
        2016-03-30 20:18:01 opencon thread start
        2016-03-30 20:18:01 msghand thread start
        2016-03-30 20:18:01 dnsseed thread start
        2016-03-30 20:18:01 net thread start
        2016-03-30 20:18:01 addcon thread start
        2016-03-30 20:18:02 PROCESSMESSAGE: pfrom->nVersion=0,msg.hdr.pchMessageStart=
        2016-03-30 20:18:02 PROCESSMESSAGE: ERRORS IN HEADER version peer=1,fMagic=0
        2016-03-30 20:18:02 PROCESSMESSAGE: pfrom->nVersion=0,msg.hdr.pchMessageStart=884b
        2016-03-30 20:18:02 PROCESSMESSAGE: ERRORS IN HEADER verack peer=1,fMagic=0
        2016-03-30 20:18:02 PROCESSMESSAGE: pfrom->nVersion=0,msg.hdr.pchMessageStart=81c3b934daafa5ba70696e67
        2016-03-30 20:18:02 PROCESSMESSAGE: ERRORS IN HEADER ping peer=1,fMagic=0
        2016-03-30 20:18:02 PROCESSMESSAGE: pfrom->nVersion=0,msg.hdr.pchMessageStart=8055c908daafa5ba67657468656164657273
        2016-03-30 20:18:02 PROCESSMESSAGE: ERRORS IN HEADER getheaders peer=1,fMagic=0
        2016-03-30 20:18:12 Loading addresses from DNS seeds (could take a while)
        2016-03-30 20:18:12 2 addresses found from DNS seeds
        2016-03-30 20:18:12 dnsseed thread exit
        
        • FTC Block Explorer + API @ https://fsight.chain.tips
        • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
        • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
        • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

        1 Reply Last reply Reply Quote 0
        • lizhi
          lizhi last edited by

          feathercoind -daemon -testnet -connect=115.29.37.248

          We have not seeder, connect my node

          AcidD 1 Reply Last reply Reply Quote 1
          • AcidD
            AcidD Moderators @lizhi last edited by

            @lizhi said:

            feathercoind -daemon -testnet -connect=115.29.37.248

            We have not seeder, connect my node

            Seems to be working with your new Github commits :-)

            :51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 PROCESSMESSAGE Scan: pfrom->nVersion=70003,msg.hdr.pchMessageStart=daafa5badaafa5ba626c6f636b,string=گ▒▒گ▒▒block
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 UpdateTip: new best=db783bd335439c71a65344f035a5b2cf431518cabd40c715daec34f75b0b0251  height=1436  log2_work=31.948735  tx=1437  date=2016-03-30 12:23:01 progress=0.073987  cache=0.6MiB(1436tx)
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 PROCESSMESSAGE Scan: pfrom->nVersion=70003,msg.hdr.pchMessageStart=daafa5badaafa5ba626c6f636b,string=گ▒▒گ▒▒block
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 UpdateTip: new best=1cd79e05ea5e43d4f3ed0808fef7dda1a92ea800d67b4dd7d07b1bfffa4f78dd  height=1437  log2_work=31.954256  tx=1438  date=2016-03-30 12:23:31 progress=0.074039  cache=0.6MiB(1437tx)
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 PROCESSMESSAGE Scan: pfrom->nVersion=70003,msg.hdr.pchMessageStart=daafa5badaafa5ba626c6f636b,string=گ▒▒گ▒▒block
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 UpdateTip: new best=b5d94cd678eb4573ab68798f7dca371b9e2dfcca2ecd1ca78ef5995a5f989603  height=1438  log2_work=31.960044  tx=1439  date=2016-03-30 12:26:01 progress=0.074090  cache=0.6MiB(1438tx)
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 PROCESSMESSAGE Scan: pfrom->nVersion=70003,msg.hdr.pchMessageStart=daafa5badaafa5ba626c6f636b,string=گ▒▒گ▒▒block
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 UpdateTip: new best=75a86274fcccc87019cc4a7e2d6e833133855fea98287cbf2ab80141881dc181  height=1439  log2_work=31.966008  tx=1440  date=2016-03-30 12:26:16 progress=0.074142  cache=0.6MiB(1439tx)
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 PROCESSMESSAGE Scan: pfrom->nVersion=70003,msg.hdr.pchMessageStart=daafa5badaafa5ba626c6f636b,string=گ▒▒گ▒▒block
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 UpdateTip: new best=4d7d356fd2c7da02f0085d282bcdf37c92aae624aab5a3ee83a91bca2c618156  height=1440  log2_work=31.972152  tx=1441  date=2016-03-30 12:29:16 progress=0.074193  cache=0.6MiB(1440tx)
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 PROCESSMESSAGE Scan: pfrom->nVersion=70003,msg.hdr.pchMessageStart=daafa5badaafa5ba626c6f636b,string=گ▒▒گ▒▒block
            2016-04-06 00:51:06 FlushStateToDisk true.
            2016-04-06 00:51:06 UpdateTip: new best=2a021467545d80d7b6029d05a430b08073b48939cdcc9267cdb832114c9a6750  height=1441  log2_work=31.978481  tx=1442  date=2016-03-30 12:29:31 progress=0.074245  cache=0.6MiB(1441tx)
            2016-04-06 00:51:06 FlushStateToDisk true.
            
            • FTC Block Explorer + API @ https://fsight.chain.tips
            • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
            • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
            • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

            1 Reply Last reply Reply Quote 1
            • lizhi
              lizhi last edited by

              good job , I think testnet is running.

              http://ftc11.testnet.ftc-c.com:19327/static/
              http://testnet.ftc-c.com:19327/static/

              1 Reply Last reply Reply Quote 0
              • First post
                Last post