• Building on Mac Big Sur

    From Kai Richter@2:240/77 to Sean Rima on Mon Nov 4 15:38:22 2024
    Hello Sean!

    03 Nov 24, Sean Rima wrote to All:

    ld: unknown option: -soname

    Any ideas now to get around it

    Looks like -soname is parsed as switchname instead of -s<oname>.
    Manpage or try -s <oname> ?

    Some tools have pesty differences between platforms. hexdump -s 0x08 -n 0x10 gives bad -n format error on linux but no output on freebsd at all. hexdump -s 0x08 - n 16 will work on both. The error output on freebsd is just not there (maybe in return code but i haven't checked). It's strange that a hex tool does not understand hex in all places.

    What if the variable is wrong defined? Does hacking the compiler command for ld work? Like forcing LD=echo "$oname";ld in the makefile?

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Sean Rima@2:263/1.1 to All on Sun Nov 3 16:03:26 2024

    Hello everybody!

    I have progressed a little but getting this error:

    clang -dylib -lSystem -shared -Wl,-soname,libhusky.so.1.9.20230224 -o huskylib/Build/obj/libhusky.so.1.9.20230224 huskylib/Build/obj/adcase.o huskylib/Build/obj/calendar.o huskylib/Build/obj/cmpfname.o huskylib/Build/obj/crc.o huskylib/Build/obj/cvtdate.o huskylib/Build/obj/dirlayer.o huskylib/Build/obj/fexist.o huskylib/Build/obj/ffind.o huskylib/Build/obj/ftnaddr.o huskylib/Build/obj/genmsgid.o huskylib/Build/obj/genverst.o huskylib/Build/obj/getfree.o huskylib/Build/obj/ioutil.o huskylib/Build/obj/locking.o huskylib/Build/obj/log.o huskylib/Build/obj/mapfile.o huskylib/Build/obj/memory.o huskylib/Build/obj/patmat.o huskylib/Build/obj/qksort.o huskylib/Build/obj/recode.o huskylib/Build/obj/setfsize.o huskylib/Build/obj/strext.o huskylib/Build/obj/strftime.o huskylib/Build/obj/tdelay.o huskylib/Build/obj/temp.o huskylib/Build/obj/tree.o huskylib/Build/obj/version.o huskylib/Build/obj/xstr.o
    cd util/Husky-Rmfiles/; perl Build.PL \
    --install_path lib=/usr/local/share/perl5 \
    --install_path libdoc=/usr/local/share/man/man3
    ld: unknown option: -soname

    Any ideas now to get around it


    Sean


    --- GoldED+/OSX 1.1.5-b20240309
    * Origin: TCOB1 Mail Only (2:263/1.1)
  • From Nicholas Boel@1:154/10 to Sean Rima on Sun Nov 3 10:26:26 2024
    Hello Sean,

    On Sun, 03 Nov 2024 16:03:26 +0000, you wrote to All:

    I have progressed a little but getting this error:

    clang -dylib -lSystem -shared -Wl,-soname,libhusky.so.1.9.20230224 -o

    ld: unknown option: -soname

    Any ideas now to get around it

    This could definitely be the wrong answer, but you could try removing "-soname" from the clang command line and see where that gets you.

    Regards,
    Nick

    ... Take my advice, I don't use it anyway.
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: The Pharcyde ~ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From Sean Rima@2:263/1.1 to Nicholas Boel on Sun Nov 3 21:42:28 2024

    Hello Nicholas!

    03 Nov 24 10:26, you wrote to me:

    Hello Sean,

    On Sun, 03 Nov 2024 16:03:26 +0000, you wrote to All:

    I have progressed a little but getting this error:

    clang -dylib -lSystem -shared
    -Wl,-soname,libhusky.so.1.9.20230224 -o

    ld: unknown option: -soname

    Any ideas now to get around it

    This could definitely be the wrong answer, but you could try removing "-soname" from the clang command line and see where that gets you.

    I have a feeling that will bring up my other issue where it cannot find lSystem but will try

    Sean


    --- GoldED+/OSX 1.1.5-b20240309
    * Origin: TCOB1 Mail Only (2:263/1.1)
  • From Sean Rima@2:263/1.1 to Kai Richter on Fri Nov 22 12:36:34 2024

    Hello Kai!

    04 Nov 24 15:38, you wrote to me:

    Hello Sean!

    03 Nov 24, Sean Rima wrote to All:

    ld: unknown option: -soname

    Any ideas now to get around it

    Looks like -soname is parsed as switchname instead of -s<oname>.
    Manpage or try -s <oname> ?

    I had to replace -soname with -install_name in the make files and it works :)


    Regards

    Kai


    Sean


    --- GoldED+/OSX 1.1.5-b20240309
    * Origin: TCOB1 Mail Only (2:263/1.1)