[ros-dev] rbuild: module attributes

Emanuele Aliberti ea at iol.it
Sat Jul 30 20:11:44 CEST 2005


May it be that type="win32dll" means DLL + WINDOWS_GUI?

Emanuele Aliberti wrote:

> Hi Casper,
>
> I read the doc in full and converted it in Docbook for easily 
> publishing on the web etc.
> Actually I missed the proper type for the module. I was going to give 
> ntdll the type="win32dll" to make its subsystem WINDOWS_CUI, but 
> linking fails with this error. Any idea why?
>
> [LD]       output-i386\lib\msvideo\msvfw32.dll
> [RSYM]     output-i386\lib\msvideo\msvfw32.dll
> [LD]       output-i386\lib\netapi32\netapi32.dll
> [RSYM]     output-i386\lib\netapi32\netapi32.dll
> [LD]       output-i386\lib\ntdll\ntdll.dll
> obj-i386\lib\ntdll\main\dllmain.o: In function `DllMainCRTStartup':
> E:/src/ros/trunk/reactos/lib/ntdll/main/dllmain.c:17: multiple 
> definition of `DllMainCRTStartup at 12'
> D:/App/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../dllcrt2.o:dllcrt1.c:(.text+0x0): 
> first defined here
> D:/App/mingw/bin/../lib/gcc/mingw32/3.4.2/libgcc.a(__main.o):: 
> undefined reference to `__EH_FRAME_BEGIN__'
> D:/App/mingw/bin/../lib/gcc/mingw32/3.4.2/libgcc.a(__main.o):: 
> undefined reference to `__EH_FRAME_BEGIN__'
> collect2: ld returned 1 exit status
> make: *** [output-i386\lib\ntdll\ntdll.dll] Error 1
>
> E:\src\ros\trunk\reactos>
>


-- 
:Emanuele Aliberti



More information about the Ros-dev mailing list