[ros-dev] rbuild: module attributes

Emanuele Aliberti ea at iol.it
Sat Jul 30 20:01:32 CEST 2005

Casper Hornstrup wrote:

>Well, that's a 30+ hour change. It's not clear to me what problem
>you are trying to solve. If the meaning of the module types are not
>clear, we can rename them. If more module types are needed, we can
>add them.
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'
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


:Emanuele Aliberti

More information about the Ros-dev mailing list