[Buildroot] [PATCH try 4] wine: New package

André Hentschel nerv at dawncrow.de
Wed Jan 21 23:20:02 UTC 2015


Am 22.01.2015 um 00:07 schrieb Romain Naour:
> I'm building your wine package on my 64bits host and the build fail
> because freetype library in HOST_DIR is build for it, but wine is
> build for 32bits host.
> 
> see my config.log output:
> configure:10886: checking for -lfreetype
> configure:10911: /usr/bin/gcc -m32 -o conftest -O2 -I/home/naourr/git/buildroot/test/wine/host/usr/include -I/home/naourr/git/buildroot/test/wine/host/usr/include -I/home/naourr/git/buildroot/test/wine/host/usr/include/freetype2   -L/home/naourr/git/buildroot/test/wine/host/lib -L/home/naourr/git/buildroot/test/wine/host/usr/lib -Wl,-rpath,/home/naourr/git/buildroot/test/wine/host/usr/lib conftest.c -lfreetype -L/home/naourr/git/buildroot/test/wine/host/usr/lib -lfreetype    >&5
> /usr/bin/ld: skipping incompatible /home/naourr/git/buildroot/test/wine/host/usr/lib/libfreetype.so when searching for -lfreetype
> /usr/bin/ld: skipping incompatible /home/naourr/git/buildroot/test/wine/host/usr/lib/libfreetype.so when searching for -lfreetype
> /usr/bin/ld: skipping incompatible /usr/lib64/libfreetype.so when searching for -lfreetype
> /usr/bin/ld: cannot find -lfreetype
> /usr/bin/ld: skipping incompatible /home/naourr/git/buildroot/test/wine/host/usr/lib/libfreetype.so when searching for -lfreetype
> /usr/bin/ld: skipping incompatible /home/naourr/git/buildroot/test/wine/host/usr/lib/libfreetype.so when searching for -lfreetype
> /usr/bin/ld: skipping incompatible /usr/lib64/libfreetype.so when searching for -lfreetype
> /usr/bin/ld: cannot find -lfreetype
> collect2: error: ld returned 1 exit status
> 
> It seems that --enable-win64 must be added to HOST_WINE_CONF_OPTS
> for 64bits host.

Wow, good catch, thanks!
Guess it didn't failed on my machine because i also have 32-bit freetype installed on the host.



More information about the buildroot mailing list