Roderick
2020-11-19 19:27:55 UTC
With gcc 8.4.0.
The gcc of my OpenBSD is broken. And since I cannot change the
compiler when calling the config script, I linked gcc in directory
from path to the above gcc.
I get the error below when compiling.
Thanks for any hint
Rod.
---
Making all in osdep
/bin/sh ../libtool --tag=CC --mode=link gcc -pthread -g -O2 -L/usr/lib -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -ltcl86 -lssl -lcrypto -lncurses
libtool: link: gcc -pthread -g -O2 -o pico main.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -ltcl86 -lssl -lcrypto -lncurses -pthread
ld: error: display.c:(.debug_info+0x30171): has non-ABS relocation R_386_GOTOFF against symbol 'menu_pico'
collect2: error: ld returned 1 exit status
*** Error 1 in pico (Makefile:527 'pico')
*** Error 1 in pico (Makefile:618 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running...)
*** Error 1 in /usr/opt/Alpine/src (Makefile:563 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "a...)
gmake: *** [Makefile:427: all] Error 2
The gcc of my OpenBSD is broken. And since I cannot change the
compiler when calling the config script, I linked gcc in directory
from path to the above gcc.
I get the error below when compiling.
Thanks for any hint
Rod.
---
Making all in osdep
/bin/sh ../libtool --tag=CC --mode=link gcc -pthread -g -O2 -L/usr/lib -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -ltcl86 -lssl -lcrypto -lncurses
libtool: link: gcc -pthread -g -O2 -o pico main.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -ltcl86 -lssl -lcrypto -lncurses -pthread
ld: error: display.c:(.debug_info+0x30171): has non-ABS relocation R_386_GOTOFF against symbol 'menu_pico'
collect2: error: ld returned 1 exit status
*** Error 1 in pico (Makefile:527 'pico')
*** Error 1 in pico (Makefile:618 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running...)
*** Error 1 in /usr/opt/Alpine/src (Makefile:563 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "a...)
gmake: *** [Makefile:427: all] Error 2