Closed thierry-FreeBSD closed 1 year ago
How strange! The symbols are not duplicated in Linux or Windows.
What happens if you replace line 32 with
PoTranslator, types, FileUtil, regexpr {$IFDEF WINDOWS}, LazUTF8, LazFileUtils{$endif} {$IFDEF linux}, LazUTF8, LazFileUtils{$endif};
?
Strange, but with this patch it builds:
(1010) Writing Resource String Table file: unit2.rsj
(9022) Compiling resource /usr/ports/multimedia/winff/work-gtk2/winff-winff-1.6.2/winff/winff.or
(9015) Linking /usr/ports/multimedia/winff/work-gtk2/winff-winff-1.6.2/winff/winff
/usr/local/bin/ld.bfd: warning: /usr/local/lib/fpc/3.2.2/units/x86_64-freebsd/rtl/cprt0.o: missing .note.GNU-stack section implies executable stack
/usr/local/bin/ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
(1008) 7071 lines compiled, 3.7 sec
(1021) 96 warning(s) issued
(1022) 124 hint(s) issued
(1023) 1 note(s) issued
Should be fixed in latest commit. Thanks for the report.
Hello, Trying to compile winff-1.6.2 on FreeBSD fails with the hereunder error:
Remarks: 1) Actually the duplicate symbols are LazUTF8 and LazFileUtils; 2) Before trying to compile, I replaced
{$ifdef linux}
by{$ifdef unix}
.