[ros-dev] rbuild: module attributes
Casper Hornstrup
ch at csh-consult.dk
Sat Jul 30 21:31:21 CEST 2005
Maybe gcc needs -nostartfiles or something.
> -----Original Message-----
> From: ros-dev-bounces at reactos.com [mailto:ros-dev-bounces at reactos.com] On Behalf Of Emanuele
> Aliberti
> Sent: 30. juli 2005 19:02
> To: ReactOS Development List
> Subject: Re: [ros-dev] rbuild: module attributes
>
> 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'
> 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
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.com
> http://reactos.com:8080/mailman/listinfo/ros-dev
More information about the Ros-dev
mailing list