Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678938 - =x11-libs/motif-2.3.8-r1: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/Scrt1.o:function _start: error: undefined reference to 'main'
Summary: =x11-libs/motif-2.3.8-r1: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../...
Status: RESOLVED DUPLICATE of bug 592868
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
Depends on:
Reported: 2019-02-27 16:31 UTC by Constantin Runge
Modified: 2019-02-28 16:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

emerge --info (file_678938.txt,7.32 KB, text/plain)
2019-02-27 16:31 UTC, Constantin Runge
build.log (file_678938.txt,20.13 KB, text/plain)
2019-02-27 16:32 UTC, Constantin Runge

Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Runge 2019-02-27 16:31:30 UTC
Created attachment 566662 [details]
emerge --info

Building the motif ebuild fails with the message

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/tools/wml/../../lib -I/tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/tools/wml/../../include      -pipe -march=native -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment   -c -o wmluiltok.o /tmp/portage/x11-libs/motif-2.3.8-r1/work/motif-2.3.8/tools/wml/wmluiltok.c
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -pipe -march=native -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment    -Wl,-O1 -Wl,--as-needed -o wmluiltok wmluiltok.o  -lfl
libtool: link: x86_64-pc-linux-gnu-gcc -pipe -march=native -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -Wl,-O1 -o wmluiltok wmluiltok.o  -Wl,--as-needed -lfl
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/Scrt1.o:function _start: error: undefined reference to 'main'
collect2: error: ld returned 1 exit status

for me.
Comment 1 Constantin Runge 2019-02-27 16:32:22 UTC
Created attachment 566664 [details]
Comment 2 Ulrich Müller gentoo-dev 2019-02-28 16:54:13 UTC

*** This bug has been marked as a duplicate of bug 592868 ***