Problem building from source

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Kristian Davies

Problem building from source

Post by Kristian Davies »

I'm trying to build wine from source but getting the same error with
different version (1.0.1,1.1.15,1.1.16)

CentOS 4

./configure --prefix=/software/wine/1.1.16/

make depend
make

make[2]: Leaving directory `/tmp/wine/wine-1.1.16/libs/wpp'
make[1]: Leaving directory `/tmp/wine/wine-1.1.16/libs'
make[1]: Entering directory `/tmp/wine/wine-1.1.16/tools'
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpoint
er-arith -g -O2 -o fnt2bdf.o fnt2bdf.c
gcc -g -O2 -o fnt2bdf fnt2bdf.o ../libs/port/libwine_port.a
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpoint
er-arith -g -O2 -o fnt2fon.o fnt2fon.c
gcc -g -O2 -o fnt2fon fnt2fon.o ../libs/port/libwine_port.a
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpoint
er-arith -g -O2 -o make_ctests.o make_ctests.c
gcc -g -O2 -o make_ctests make_ctests.o
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpoint
er-arith -g -O2 -o sfnt2fnt.o sfnt2fnt.c
gcc -g -O2 -o sfnt2fnt sfnt2fnt.o -L../libs/wine -lwine
../libs/port/libwine_port.a -lfreetype -lz
-Wl,--rpath,\$ORIGIN/../libs/wine
../libs/wine/libwine.so: undefined reference to `wine_build'
collect2: ld returned 1 exit status
make[1]: *** [sfnt2fnt] Error 1
make[1]: Leaving directory `/tmp/wine/wine-1.1.16/tools'
make: *** [tools] Error 2



Any ideas...?

Cheers,
Kristian
Kristian Davies

Problem building from source

Post by Kristian Davies »

On Mon, Mar 2, 2009 at 10:43 AM, Kristian Davies
<[email protected]> wrote:
I'm trying to build wine from source but getting the same error with
different version (1.0.1,1.1.15,1.1.16)

CentOS 4

./configure --prefix=/software/wine/1.1.16/

make depend
make
I should add that this is 32bit and full output of make can be found
here: http://www.mibbit.com/pb/fNDmFt


Cheers!
Kristian
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Problem building from source

Post by austin987 »

On Mon, Mar 2, 2009 at 6:42 AM, Kristian Davies
<[email protected]> wrote:
On Mon, Mar 2, 2009 at 10:43 AM, Kristian Davies
<[email protected]> wrote:
I'm trying to build wine from source but getting the same error with
different version (1.0.1,1.1.15,1.1.16)

CentOS 4

 ./configure --prefix=/software/wine/1.1.16/

make depend
make
I should add that this is 32bit and full output of make can be found
here: http://www.mibbit.com/pb/fNDmFt


Cheers!
Kristian

http://bugs.winehq.org/show_bug.cgi?id=13445

--
-Austin
Kristian Davies

Problem building from source

Post by Kristian Davies »

I don't think that's the issue.

But I got around it by...

libs/wine/config.c:417

- extern const char wine_build[];
+ static const char wine_build[] = "wine-1.1.15";

Possibly due to the lack of non-default version of autoconf....
although it's an uneducated guess.

Cheers,
Kristian
Locked