installing gnucobol03.20rc2 with ncurses6.4 gives the following make error
steve@steve-IdeaPad-3-15IAU7:~/Desktop/gnucobol-3.2-rc2$ make > makelog /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libncurses.a(lib_tputs.o): warning: relocation against `ospeed' in read-only section `.text' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libncurses.a(lib_addch.o): relocation R_X86_64_PC32 against symbol `TABSIZE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [Makefile:569: libcob.la] Error 1 make[1]: *** [Makefile:656: all-recursive] Error 1 make: *** [Makefile:564: all] Error 2
makelog shows no error
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
It looks like it true to link against a static version of ncurses.
Is there any difference if you explicit configure with --enable-shared --disable-static? [I don't know, so I'm asking]
--enable-shared --disable-static
Where did you got that ncurses from?
configure with --enable-shared --disable-static > no change
I think I got it from github.
I'm going to try an earlier version of ncurses.
Before trying that, try to re-configure ncurses using those options.
same error with both ncurses6.4 and ncurses6.3 both with the re-configure I got them from invisibleisland
So you did re-configure both ncurses and GnuCOBOL?
yes. both on gnucobol 3.2-rc2 and on ncurses 6.4 and 6.3 after make distclean
ncurses ./configure --with-shared
works
installing gnucobol03.20rc2 with ncurses6.4 gives the following make error
makelog shows no error
Last edit: Simon Sobisch 2023-03-03
It looks like it true to link against a static version of ncurses.
Is there any difference if you explicit configure with
--enable-shared --disable-static? [I don't know, so I'm asking]Where did you got that ncurses from?
configure with --enable-shared --disable-static > no change
I think I got it from github.
I'm going to try an earlier version of ncurses.
Before trying that, try to re-configure ncurses using those options.
same error with both ncurses6.4 and ncurses6.3 both with the re-configure
I got them from invisibleisland
So you did re-configure both ncurses and GnuCOBOL?
yes. both on gnucobol 3.2-rc2 and on ncurses 6.4 and 6.3 after make distclean
ncurses ./configure --with-shared
works