[Bug 27261] New: first build of wine fails with "/usr/bin/ld: cannot find -lwinecrt0"

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 22 17:02:11 CDT 2011


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 at winehq.org
        ReportedBy: austinenglish at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list