• error compiling areastat

    From Sean Rima@2:263/1 to All on Sun Mar 21 17:02:44 2021

    Hello everybody!

    I am getting the following when trying to compile areastat. everything else compiled ok on Ubuntu server

    gcc areastat.o -s -L/usr/local/lib -lfidoconfig -lsmapi -o areastat /usr/bin/ld: areastat.o: undefined reference to symbol 'srealloc' //usr/local/lib/libhusky.so.1.9: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:40: recipe for target 'areastat' failed

    Sean


    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: A Destination in the Sun (2:263/1)
  • From Alexander N. Skovpen@2:5020/9696.128 to Sean Rima on Sun Mar 21 21:51:30 2021
    Hello Sean Rima!

    21 Mar 21 17:02:44, Sean Rima wrote to All:

    gcc areastat.o -s -L/usr/local/lib -lfidoconfig -lsmapi -o areastat /usr/bin/ld: areastat.o: undefined reference to symbol 'srealloc' //usr/local/lib/libhusky.so.1.9: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:40: recipe for target 'areastat' failed

    you are try compile static binary with dynamic libs. (you don't have static libraries)

    Alexander

    --- ÍÍÍÍÍÍÍÍËËÍËËÍ»ÉÍÍÍÍ
    * Origin: ÍÊÍÍÎÊÍÊÊÍÎÎÍ (2:5020/9696.128)
  • From Michael Dukelsky@2:5020/1042 to Sean Rima on Sun Mar 21 22:44:18 2021
    Hello Sean,

    Sunday March 21 2021, Sean Rima wrote to All:

    I am getting the following when trying to compile areastat. everything else compiled ok on Ubuntu server

    gcc areastat.o -s -L/usr/local/lib -lfidoconfig -lsmapi -o areastat /usr/bin/ld: areastat.o: undefined reference to symbol 'srealloc' //usr/local/lib/libhusky.so.1.9: error adding symbols: DSO missing
    from command line
    collect2: error: ld returned 1 exit status
    Makefile:40: recipe for target 'areastat' failed

    Fixed.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Sean Rima@2:263/1.1 to Alexander N. Skovpen on Mon Mar 22 00:08:26 2021

    Hello Alexander!

    21 Mar 21 21:51, you wrote to me:

    gcc areastat.o -s -L/usr/local/lib -lfidoconfig -lsmapi -o
    areastat /usr/bin/ld: areastat.o: undefined reference to symbol
    'srealloc' //usr/local/lib/libhusky.so.1.9: error adding symbols:
    DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:40: recipe for target 'areastat' failed

    you are try compile static binary with dynamic libs. (you don't have static libraries)

    Darn libraries :)

    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Sean Rima@2:263/1.1 to Michael Dukelsky on Mon Mar 22 00:08:44 2021

    Hello Michael!

    21 Mar 21 22:44, you wrote to me:

    I am getting the following when trying to compile areastat.
    everything else compiled ok on Ubuntu server

    gcc areastat.o -s -L/usr/local/lib -lfidoconfig -lsmapi -o
    areastat /usr/bin/ld: areastat.o: undefined reference to symbol
    'srealloc' //usr/local/lib/libhusky.so.1.9: error adding symbols:
    DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:40: recipe for target 'areastat' failed

    Many thanks


    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)