[RPL/2] Build of 4.1.29 fails on Linux Mint 19 Cinnamon 64-bit
BERTRAND Joël
joel.bertrand at systella.fr
Wed Jan 9 09:20:56 CET 2019
Jonathan Busby a écrit :
>
>
> On Tue, Jan 8, 2019 at 4:12 AM BERTRAND Joël <joel.bertrand at systella.fr
> <mailto:joel.bertrand at systella.fr>> wrote:
>
> Jonathan Busby a écrit :
> > Hello. I'm running a Linux Mint 19 Cinnamon 64-bit install with the
> > output of "lsb_release -a" being :
> >
> > "
> > Distributor ID: LinuxMint
> > Description: Linux Mint 19 Tara
> > Release: 19
> > Codename: tara
> > "
> >
> > With the default configure options, the make operation fails with :
> >
> > "
> > Makefile:494: recipe for target 'wmluiltok' failed
> > "
> > Here is a link to the full make log :
> > http://www.mediafire.com/file/rwrazsdxjj9hgm9/make.log.tar.bz2/file
>
> OK... wmluiltok should be built by motif's Makefile. Can
> you enter in
> $(builddir)/tools/motifs-2.3.8/tools/wml and run make > make.log ?
>
>
> No problem :) ( see attachment )
>
> Best regards,
>
> JKB
>
>
> Thank you for your help :)
Please not send output of make -d. This is not a makefile's bug but a
trouble with your system.
In make output, I see :
libtool: link: gcc -g -O2 -O2 -fno-strict-overflow -malign-double -Wall
-funsigned-char -Wno-pointer-sign -Wall -g -fno-strict-aliasing
-Wno-unused -Wno-comment -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16
-pthread -o wmluiltok wmluiltok.o -lfontconfig
/usr/lib/x86_64-linux-gnu/libfreetype.so -lXft -lpng -pthread
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In
function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
Makefile:494: recipe for target 'wmluiltok' failed
make: *** [wmluiltok] Error 1
wmluiltok.o was compiled by following command :
gcc -DHAVE_CONFIG_H -I. -I../../include -I../../lib/Xm -I../../lib
-I./../../lib -I./../../include -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16
-g -O2 -O2 -fno-strict-overflow -malign-double -Wall -funsigned-char
-Wno-pointer-sign -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libpng16 -MT wmluiltok.o -MD
-MP -MF .deps/wmluiltok.Tpo -c -o wmluiltok.o wmluiltok.c
Can you check that wmluiltok.c is not empty ? wmluiltok.c is created by
flex.
I have found that flex is faulty on several Linux system. If
wmluiltok.c is not empty, you have to rebuild flex with
-ffat-lto-objects option, allowing to use lto also on motif.
Best regards,
JKB
More information about the RPL2
mailing list