http://bugs.winehq.org/show_bug.cgi?id=2550
Summary: Won't build with GCC-3.4.2 Product: Wine Version: 20041019 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: tyrerj@acm.org
When building I get this error: make[2]: Entering directory `/home/jrt/wine-20041019/dlls/kernel' /usr/local/bin/gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -DETCDIR=""/usr/local/etc"" -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -I/usr/local/ssl/include -I/usr/gnome2/include -march=k6-3 -mtune=k6-3 -O2 -o heap.o heap.c heap.c: In function `GlobalLock': heap.c:252: sorry, unimplemented: inlining failed in call to 'GetProcessHeap': redefined extern inline functions are not considered for inlining heap.c:403: sorry, unimplemented: called from here heap.c:252: sorry, unimplemented: inlining failed in call to 'GetProcessHeap': redefined extern inline functions are not considered for inlining heap.c:427: sorry, unimplemented: called from here make[2]: *** [heap.o] Error 1 make[2]: Leaving directory `/home/jrt/wine-20041019/dlls/kernel' make[1]: *** [kernel] Error 2 make[1]: Leaving directory `/home/jrt/wine-20041019/dlls' make: *** [dlls] Error 2
and the build continues. Then, later, I get this error:
make[2]: Entering directory `/home/jrt/wine-20041019/dlls/kernel' /usr/local/bin/gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -DETCDIR=""/usr/local/etc"" -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -I/usr/local/ssl/include -I/usr/gnome2/include -march=k6-3 -mtune=k6-3 -O2 -o heap.o heap.c heap.c: In function `GlobalLock': heap.c:252: sorry, unimplemented: inlining failed in call to 'GetProcessHeap': redefined extern inline functions are not considered for inlining heap.c:403: sorry, unimplemented: called from here heap.c:252: sorry, unimplemented: inlining failed in call to 'GetProcessHeap': redefined extern inline functions are not considered for inlining heap.c:427: sorry, unimplemented: called from here make[2]: *** [heap.o] Error 1 make[2]: Leaving directory `/home/jrt/wine-20041019/dlls/kernel' make[1]: *** [kernel] Error 2 make[1]: Leaving directory `/home/jrt/wine-20041019/dlls' make: *** [dlls] Error 2
It appears that GetProcessHeap is redifined.
-- JRT