OS X build broken

Austin English austinenglish at gmail.com
Fri Jun 12 12:03:14 CDT 2009


On Thu, Jun 11, 2009 at 10:39 PM, Austin English<austinenglish at gmail.com> wrote:
> AJ, looks like your 'configure: Detect the appropriate form for the
> __ASM_GLOBAL_FUNC macro.' patch broke the compile on OS X. Could you
> have a look?
>
> gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__
> -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
> -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith
> -I/Users/austin/wine-deps/usr/include
> -I/Users/austin/wine-deps/usr/include/libxml2
> -I/Users/austin/wine-deps/usr/include/libxslt
> -I/Users/austin/wine-deps/usr/include/libpng12
> -I/Users/austin/wine-deps/usr/include/gphoto2
> -I/Users/austin/wine-deps/usr/include/sane
> -I/Users/austin/wine-deps/usr/include  -o writer.o writer.c
> ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include
>  -D__WINESRC__   -foversion.res version.rc
> ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild
> --sysroot=../.. -shared ./riched20.spec    caret.o clipboard.o
> context.o editor.o list.o paint.o para.o reader.o richole.o row.o
> run.o string.o style.o table.o txthost.o txtsrv.o undo.o wrap.o
> writer.o    version.res   -o riched20.dll.so  -luuid -lole32
> -loleaut32 -limm32 -luser32 -lgdi32 -lkernel32
> ../../libs/port/libwine_port.a  -L/Users/austin/wine-deps/usr/lib
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
> _itextHostStdcallVtbl from txthost.o not allowed in slidable image
> collect2: ld returned 1 exit status
> winegcc: gcc failed
> make[2]: *** [riched20.dll.so] Error 2
> make[1]: *** [riched20] Error 2
> make: *** [dlls] Error 2
>
> --
> -Austin
>

And actually, I'm getting a compiler error on my work machine:
austin at SERVER1:~/wine-git/dlls/kernel32$ make
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__
-D_KERNEL32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2
-o ne_module.o ne_module.c
ne_module.c:2214: error: expected ‘)’ before string constant
make: *** [ne_module.o] Error 1

austin at SERVER1:~/wine-git/dlls/kernel32$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

-- 
-Austin



More information about the wine-devel mailing list