[Slackbuilds-users] collect2: error: ld returned 1 exit status
Dimitris Zlatanidis
d.zlatanidis at gmail.com
Sun Jan 8 18:24:54 UTC 2023
mv -f .deps/timer.Tpo .deps/timer.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include -O2 -fPIC -MT utmp.lo -MD -MP -MF .deps/utmp.Tpo
-c -o utmp.lo utmp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -fPIC
-MT utmp.lo -MD -MP -MF .deps/utmp.Tpo -c utmp.c -fPIC -DPIC -o
.libs/utmp.o
mv -f .deps/utmp.Tpo .deps/utmp.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include -O2 -fPIC -MT windows.lo -MD -MP -MF
.deps/windows.Tpo -c -o windows.lo windows.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -fPIC
-MT windows.lo -MD -MP -MF .deps/windows.Tpo -c windows.c -fPIC -DPIC -o
.libs/windows.o
mv -f .deps/windows.Tpo .deps/windows.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include -O2 -fPIC -MT defaultfont.lo -MD -MP -MF
.deps/defaultfont.Tpo -c -o defaultfont.lo defaultfont.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -fPIC
-MT defaultfont.lo -MD -MP -MF .deps/defaultfont.Tpo -c defaultfont.c
-fPIC -DPIC -o .libs/defaultfont.o
mv -f .deps/defaultfont.Tpo .deps/defaultfont.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include -O2 -fPIC -MT libscream.lo -MD -MP -MF
.deps/libscream.Tpo -c -o libscream.lo libscream.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -fPIC
-MT libscream.lo -MD -MP -MF .deps/libscream.Tpo -c libscream.c -fPIC
-DPIC -o .libs/libscream.o
libscream.c: In function ‘ns_attach_by_URL’:
libscream.c:1489:2: warning: #warning compiling in libscream [-Wcpp]
1489 | #warning compiling in libscream
| ^~~~~~~
libscream.c:1495:2: warning: #warning compiling in support for GNU
screen [-Wcpp]
1495 | #warning compiling in support for GNU screen
| ^~~~~~~
In file included from feature.h:100,
from libscream.c:46:
libscream.c: In function ‘ns_parse_screen’:
libscream.c:3231:16: warning: implicit declaration of function
‘safe_print_string’ [-Wimplicit-function-declaration]
3231 | safe_print_string(p, width)));
| ^~~~~~~~~~~~~~~~~
libscream.c:3230:5: note: in expansion of macro ‘D_ESCREEN’
3230 | D_ESCREEN(("ns_parse_screen(0x%08x, %d, %d, \"%s\")\n",
screen, force, width,
| ^~~~~~~~~
mv -f .deps/libscream.Tpo .deps/libscream.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include -O2 -fPIC -MT sse2_cmod.lo -MD -MP -MF
.deps/sse2_cmod.Tpo -c -o sse2_cmod.lo sse2_cmod.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -fPIC
-MT sse2_cmod.lo -MD -MP -MF .deps/sse2_cmod.Tpo -c sse2_cmod.c -fPIC
-DPIC -o .libs/sse2_cmod.o
mv -f .deps/sse2_cmod.Tpo .deps/sse2_cmod.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fPIC -release 0.9.6
-L/usr/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib -o libEterm.la -rpath
/usr/lib64 actions.lo buttons.lo command.lo draw.lo e.lo events.lo
font.lo grkelot.lo menus.lo misc.lo options.lo pixmap.lo screen.lo
script.lo scrollbar.lo startup.lo system.lo term.lo timer.lo utmp.lo
windows.lo defaultfont.lo libscream.lo sse2_cmod.lo -lImlib2 -ldl
-lImlib2 -lfreetype -lX11 -lSM -lICE -lpcre -ldl -lm -lXRes -lSM
-lICE -lutempter -last -lXext -lX11 -lutil -lm
libtool: link: gcc -shared -fPIC -DPIC .libs/actions.o .libs/buttons.o
.libs/command.o .libs/draw.o .libs/e.o .libs/events.o .libs/font.o
.libs/grkelot.o .libs/menus.o .libs/misc.o .libs/options.o
.libs/pixmap.o .libs/screen.o .libs/script.o .libs/scrollbar.o
.libs/startup.o .libs/system.o .libs/term.o .libs/timer.o .libs/utmp.o
.libs/windows.o .libs/defaultfont.o .libs/libscream.o .libs/sse2_cmod.o
-L/usr/lib64 -L/usr/lib -lImlib2 -lfreetype -lpcre -ldl -lXRes -lSM
-lICE -lutempter -last -lXext -lX11 -lutil -lm -O2 -Wl,-soname
-Wl,libEterm-0.9.6.so -o .libs/libEterm-0.9.6.so
libtool: link: (cd ".libs" && rm -f "libEterm.so" && ln -s
"libEterm-0.9.6.so" "libEterm.so")
libtool: link: ( cd ".libs" && rm -f "libEterm.la" && ln -s
"../libEterm.la" "libEterm.la" )
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fPIC -rpath
/usr/lib64:/usr/lib64/Eterm -L/usr/lib64 -L/usr/lib -L/usr/lib64
-L/usr/lib -o Eterm main.o libEterm.la -lImlib2 -ldl -lImlib2
-lfreetype -lX11 -lSM -lICE -lpcre -ldl -lm -lXRes -lSM -lICE
-lutempter -last -lXext -lX11 -lutil -lm
libtool: link: gcc -O2 -fPIC -o .libs/Eterm main.o -L/usr/lib64
-L/usr/lib ./.libs/libEterm.so -lImlib2 -lfreetype -lpcre -ldl -lXRes
-lSM -lICE -lutempter -last -lXext -lX11 -lutil -lm -Wl,-rpath
-Wl,/usr/lib64:/usr/lib64/Eterm
/usr/bin/ld: ./.libs/libEterm.so: undefined reference to `MEMSET'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:548: Eterm] Error 1
make[2]: Leaving directory '/tmp/SBo/Eterm-0.9.6/src'
make[1]: *** [Makefile:439: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/Eterm-0.9.6'
make: *** [Makefile:371: all] Error 2
Anyone can help with this?
Thanks!
--
Dimitris Zlatanidis
https://dslackw.gitlab.io/slpkg/
https://gitlab.com/dslackw
More information about the SlackBuilds-users
mailing list