[ros-kernel] Tree fubarred - Shlwapi build failure

Gge gerard.gatineau at laposte.net
Tue Aug 17 08:36:08 CEST 2004


Steven Edwards wrote:

> Hi,
> 
> --- Betam4x <eek2121 at comcast.net> wrote
> 
>>The tree is fubarred, it needs to be fixed ASAP or the changes need
>>to 
>>be reverted
>>
>>temp.exp(.edata+0x75c):fake: undefined reference to `f5'
>>temp.exp(.edata+0x760):fake: undefined reference to `f6'
>>collect2: ld returned 1 exit status
>>mingw32-make[1]: *** [shlwapi.nostrip.dll] Error 1
>>mingw32-make[1]: Leaving directory `C:/reactos/reactos/lib/shlwapi'
>>mingw32-make: *** [shlwapi] Error 2
> 
> 
> The problem is your binutils. Please try a newer version and it should
> clear up.
> 
> Thanks
> Steven
> 

Hi,

I confirm the problem
Reactos module was building successfully on August 09 for me , but with 
the current CVS tree , I got the same build error for Shlwapi .
I made no change in the Gcc compiler + binutils + ..  , I am still using 
the recommended compiler indicated in reactos.com site

=> Sounds like some changes in reactos tree have broken shlwapi

-------------------------------------------------------------------------------
mingw32-make[1]: Entering directory 
`D:/Gerard/Reactos/Ros/reactos/lib/shlwapi'
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c assoc.c -o 
assoc.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c clist.c -o 
clist.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c istream.c -o 
istream.o

gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c msgbox.c -o 
msgbox.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c ordinal.c -o 
ordinal.o

ordinal.c:31:1: warning: "COBJMACROS" redefined
<command line>:11:1: warning: this is the location of the previous 
definition
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c path.c -o path.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c reg.c -o reg.o
reg.c: In function `SHSetValueA':
reg.c:1057: warning: passing arg 4 of `RegCreateKeyExA' discards 
qualifiers from
  pointer target type
reg.c: In function `SHSetValueW':
reg.c:1086: warning: passing arg 4 of `RegCreateKeyExW' discards 
qualifiers from
  pointer target type
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c regstream.c 
-o regstre
am.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c 
shlwapi_main.c -o shlw
api_main.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c stopwatch.c 
-o stopwat
ch.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c string.c -o 
string.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c thread.c -o 
thread.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c url.c -o url.o
gcc -D__REACTOS__ -D_SHLWAPI_ -D__USE_W32API -D_WIN32_IE=0x600 
-D_WIN32_WINNT=0x
501 -DWINVER=0x501 -D_STDDEF_H -DCOBJMACROS -I../../include/wine 
-I../../include
  -I../../w32api/include -pipe -march=i386 -D_M_IX86 -g -c wsprintf.c -o 
wsprintf
.o
ar -r shlwapi.a assoc.o clist.o istream.o msgbox.o ordinal.o path.o 
reg.o regstr
eam.o shlwapi_main.o stopwatch.o string.o thread.o url.o wsprintf.o
gcc -Wl,--base-file,base.tmp \
         -Wl,--entry,_DllMain at 12 \
         -g -mdll -Wl,--image-base,0x76120000 \
         -o junk.tmp \
          assoc.o clist.o istream.o msgbox.o ordinal.o path.o reg.o 
regstream.o s
hlwapi_main.o stopwatch.o string.o thread.o url.o wsprintf.o 
../../dk/w32/lib/ms
vcrt.a ../../dk/w32/lib/ole32.a ../../dk/w32/lib/user32.a 
../../dk/w32/lib/gdi32
.a ../../dk/w32/lib/advapi32.a ../../dk/w32/lib/kernel32.a 
../../dk/w32/lib/ntdl
l.a ../../dk/w32/lib/oleaut32.a ../../dk/w32/lib/libwine.a 
../../dk/w32/lib/wine
_uuid.a ../../dk/w32/lib/libwine_unicode.a ../../dk/w32/lib/msvcrt.a 
../../dk/w3
2/lib/ntdll.a
../../tools/rdel junk.tmp
dlltool --as=as --dllname shlwapi.dll \
         --base-file base.tmp \
         --output-exp temp.exp --def ./shlwapi.spec.def
../../tools/rdel base.tmp
gcc -Wl,--base-file,base.tmp \
         -Wl,--entry,_DllMain at 12 \
         -g -mdll -Wl,--image-base,0x76120000 \
         temp.exp \
         -o junk.tmp \
          assoc.o clist.o istream.o msgbox.o ordinal.o path.o reg.o 
regstream.o s
hlwapi_main.o stopwatch.o string.o thread.o url.o wsprintf.o 
../../dk/w32/lib/ms
vcrt.a ../../dk/w32/lib/ole32.a ../../dk/w32/lib/user32.a 
../../dk/w32/lib/gdi32
.a ../../dk/w32/lib/advapi32.a ../../dk/w32/lib/kernel32.a 
../../dk/w32/lib/ntdl
l.a ../../dk/w32/lib/oleaut32.a ../../dk/w32/lib/libwine.a 
../../dk/w32/lib/wine
_uuid.a ../../dk/w32/lib/libwine_unicode.a ../../dk/w32/lib/msvcrt.a 
../../dk/w3
2/lib/ntdll.a
temp.exp(.edata+0x75c):fake: undefined reference to `f5'
temp.exp(.edata+0x760):fake: undefined reference to `f6'
mingw32-make[1]: *** [shlwapi.nostrip.dll] Error 1
mingw32-make[1]: Leaving directory 
`D:/Gerard/Reactos/Ros/reactos/lib/shlwapi'
mingw32-make: *** [shlwapi] Error 2
----------------------------------------------------------------------------------


More information about the Ros-kernel mailing list