http://bugs.winehq.org/show_bug.cgi?id=27261
Summary: first build of wine fails with "/usr/bin/ld: cannot find -lwinecrt0" Product: Wine Version: 1.3.20 Platform: x86 OS/Version: FreeBSD Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
On FreeBSD 9, building wine fails with: gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -I/usr/local/include -g -O2 -o main.o main.c ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./acledit.spec main.o -o acledit.dll.so ../../libs/port/libwine_port.a -L/usr/local/lib /usr/bin/ld: cannot find -lwinecrt0 winegcc: gcc failed *** Error code 2
Stop in /home/austin/wine-git/dlls/acledit. *** Error code 1
Stop in /home/austin/wine-git.
only the first time you run make, though. Running a second time works fine. This is using BSD make, using GNU make works fine.
git is at 456e48efa1df91cee6149b67187812e16350c474