[ros-kernel] RE: [ros-cvs] CVS Update: reactos

Hartmut Birr hartmut.birr at gmx.de
Mon Aug 16 20:03:53 CEST 2004


I'm not able do build user32.dll after your changes. The linker complains
always about a missing reference to _imp__KeBugCheck at 4. KeBugCheck is
defined in dllmain.c. Using or not using of precompiled headers has no
effect for this bug. I'm using gcc 3.4.1 and binutils 2.15.90 on Windows XP.

- Hartmut

gcc -Wl,--base-file,base.tmp \
        -Wl,--entry,_DllMain at 12 \
        -nostartfiles -nostdlib -g -mdll -Wl,--image-base,0x77e60000 \
        -o junk.tmp \
        ./user32.coff misc/dde.o misc/ddeclient.o misc/ddeserver.o
misc/desktop.o misc/display.o misc/dllmain.o misc/exit.o misc/exticon.o
misc/wsprintf.o misc/stubs.o misc/winhelp.o misc/win32k.o misc/winsta.o
misc/resources.o misc/object.o misc/timer.o misc/strpool.o misc/misc.o
windows/caret.o windows/class.o windows/message.o windows/window.o
windows/defwnd.o windows/accel.o windows/bitmap.o windows/clipboard.o
windows/cursor.o windows/dc.o windows/dialog.o windows/draw.o windows/font.o
windows/hook.o windows/icon.o windows/input.o windows/mdi.o windows/menu.o
windows/messagebox.o windows/nonclient.o windows/paint.o windows/prop.o
windows/rect.o windows/text.o windows/winpos.o controls/combo.o
controls/edit.o controls/icontitle.o controls/listbox.o controls/scrollbar.o
controls/static.o controls/button.o controls/regcontrol.o
../../dk/w32/lib/libwine.a ../../dk/w32/lib/ntdll.a
../../dk/w32/lib/kernel32.a ../../dk/w32/lib/gdi32.a
windows/message.o(.text+0x588): In function `MsgiKMToUMMessage':
E:/Sandbox/ros_work/reactos/lib/user32/windows/message.c:272: undefined
reference to `_imp__KeBugCheck at 4
'windows/font.o(.text+0x6d5): In function `TEXT_PathEllipsify':
E:/Sandbox/ros_work/reactos/lib/user32/windows/font.c:428: undefined
reference to `_imp__KeBugCheck at 4'
windows/font.o(.text+0x7c0): In function `TEXT_WordBreak':
E:/Sandbox/ros_work/reactos/lib/user32/windows/font.c:511: undefined
reference to `_imp__KeBugCheck at 4'
ont.c:512: undefined reference to `_imp__KeBugCheck at 4'
windows/font.o(.text+0xa32): In function `TEXT_SkipChars':
E:/Sandbox/ros_work/reactos/lib/user32/windows/font.c:624: undefined
reference to `_imp__KeBugCheck at 4'
ont.c:664: more undefined references to `_imp__KeBugCheck at 4' follow
collect2: ld returned 1 exit status
_make[1]: *** [user32.nostrip.dll] Error 1
_make[1]: Leaving directory `E:/Sandbox/ros_work/reactos/lib/user32'
_make: *** [user32] Error 2

> -----Original Message-----
> From: ros-cvs-bounces at reactos.com 
> [mailto:ros-cvs-bounces at reactos.com] On Behalf Of 
> chorns at cvs.reactos.com
> Sent: Sunday, August 15, 2004 2:37 PM
> To: ros-cvs at reactos.com
> Subject: [ros-cvs] CVS Update: reactos
> Module name:	reactos
> Repository:	reactos/lib/user32/windows/
> Changes by:	chorns at mok.osexperts.com	04/08/15 14:36:35
> Modified files:
> 	./: ChangeLog 
> 	reactos/include/wine/: debug.h 
> 	reactos/lib/user32/: Makefile 
> 	reactos/lib/user32/controls/: button.c combo.c edit.c 
> 	                              icontitle.c listbox.c 
> regcontrol.c 
> 	                              scrollbar.c static.c 
> 	reactos/lib/user32/include/: user32.h 
> 	reactos/lib/user32/misc/: desktop.c display.c exit.c misc.c 
> 	                          object.c resources.c 
> strpool.c stubs.c 
> 	                          timer.c winhelp.c winsta.c wsprintf.c 
> 	reactos/lib/user32/windows/: accel.c bitmap.c caret.c class.c 
> 	                             clipboard.c cursor.c dc.c defwnd.c 
> 	                             dialog.c font.c hook.c icon.c 
> 	                             input.c menu.c message.c 
> 	                             messagebox.c paint.c prop.c rect.c 
> 	                             text.c window.c winpos.c 
> Added files:
> 	reactos/lib/user32/include/: .cvsignore 
> Log message:
> 	2004-08-15  Casper S. Hornstrup  <chorns at users.sourceforge.net>
> 	* lib/user32/include/.cvsignore: New file.
> 	* lib/user32/Makefile (TARGET_PCH): Set to include/user32.h.
> 	* lib/user32/*/*.c: Use pre-compiled header.
> 	* include/wine/debug.h (FIXME): Override previous 
> declaration is needed.
> _______________________________________________
> Ros-cvs mailing list
> Ros-cvs at reactos.com
> http://reactos.com/mailman/listinfo/ros-cvs

More information about the Ros-kernel mailing list