From: Stephen T. <st...@sb...> - 2003-08-24 23:19:11
|
On Sun, 2003-08-24 at 17:46, Arvid Lundberg wrote: > Hi! > OK, I'm not sure where the bad part starts, but here's a larger chunk of = the last output part. > Cheers! >=20 > Arvid >=20 > On 24.8 2003 22:17, Stephen torri wrote: >=20 > > > >On Sun, 2003-08-24 at 08:20, Arvid Lundberg wrote: > >> Hi! > >> I have problems when compiling xine cvs. > >> When almost done, there's an error message: > >> libtool: link: `stubs.lo' is not a valid libtool object > >> I'm not so knowledgeable, so I don't know what this means. > > > >I am not sure what the problem is without seeing more of the error. I > >changed the file to fix an error but that appears to be changed by > >miguel. He said that using CCASCOMPILE did not work for him and changed > >the script to use CC instead.=20 > > > >Miguel, I believe you broke the fix that I did for this file. Check the > >xine-lib/m4/as.m4 file. There is where we need to make the changes to > >the compiler for compiling in .s files. > > > >Stephen > > >=20 >=20 > gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I.= ./../.. /include -I../../../src -I../../../src/xine-engine -I../../../src/x= ine-engine -I ../../../src/xine-utils -I/usr/X11R6/include -fno-omit-frame-= pointer -fno-inline -functions -fno-rename-registers -Wmissing-prototypes -= Wimplicit-function-declar ation -DWIN32_PATH=3D\"/usr/lib/win32\" -I./.. -D= __WINE__ -Ddbg_printf=3D__vprintf - DTRACE=3D__vprintf -Wchar-subscripts -W= missing-declarations -Wmissing-prototypes - Wnested-externs -Wcast-align -W= pointer-arith -Wall -D_REENTRANT -D_FILE_OFFSET_B ITS=3D64 -DXINE_COMPILE -= O3 -pipe -falign-functions=3D4 -falign-loops=3D4 -falign-jump s=3D4 -mprefe= rred-stack-boundary=3D2 -fexpensive-optimizations -fschedule-insns2 -fn o-s= trict-aliasing -ffast-math -funroll-loops -mcpu=3Dathlon -MT win32.lo -MD -= MP - MF .deps/win32.Tpo -c win32.c -fPIC -DPIC -o .libs/win32.o > win32.c: In function `expWaitForMultipleObjects': > win32.c:830: warning: assignment makes integer from pointer without a cas= t > win32.c:834: warning: return makes pointer from integer without a cast > win32.c: In function `expCreateMutexA': > win32.c:848: warning: initialization makes integer from pointer without a= cast > win32.c:861: warning: control reaches end of non-void function > win32.c: In function `expGetSystemInfo': > win32.c:893: warning: unused variable `regs' > win32.c: In function `expGetMonitorInfoA': > win32.c:2530: warning: initialization from incompatible pointer type > win32.c: In function `expGetFullPathNameA': > win32.c:3571: warning: assignment makes integer from pointer without a ca= st > win32.c:3573: warning: assignment makes integer from pointer without a ca= st > win32.c: In function `expGlobalMemoryStatus': > win32.c:4414: warning: pointer of type `void *' used in subtraction > win32.c: In function `expExitProcess': > win32.c:4445: warning: int format, DWORD arg (arg 2) > win32.c: In function `expDirectDrawCreate': > win32.c:4504: warning: return makes integer from pointer without a cast > win32.c: In function `expCreatePalette': > win32.c:4530: warning: assignment makes integer from pointer without a ca= st > win32.c:4531: warning: passing arg 1 of `memcpy' makes pointer from integ= er with out a cast > win32.c: In function `LookupExternal': > win32.c:5136: warning: label `no_dll' defined but not used > win32.c: At top level: > debugtools.h:64: warning: `debugstr_a' defined but not used > debugtools.h:65: warning: `debugstr_w' defined but not used > win32.c:247: warning: `test_heap' defined but not used > win32.c:4173: warning: `exp_ftol_wrong' defined but not used > gcc -c -o stubs.lo `test -f 'stubs.s' || echo './'`stubs.s > gcc -c -o wrapper.lo `test -f 'wrapper.S' || echo './'`wrapper.S > /bin/sh ../../../libtool --mode=3Dlink gcc -I/usr/X11R6/include -fno-omi= t-frame-p ointer -fno-inline-functions -fno-rename-registers -Wmissing-prot= otypes -Wimplic it-function-declaration -DWIN32_PATH=3D\"/usr/lib/win32\" -= I./.. -D__WINE__ -Ddbg_ printf=3D__vprintf -DTRACE=3D__vprintf `echo -Wcha= r-subscripts -Wmissing-declaratio ns -Wmissing-prototypes -Wnested-externs = -Wcast-align -Wpointer-arith -Wall -D_R EENTRANT -D_FILE_OFFSET_BITS=3D64 -= DXINE_COMPILE -O3 -pipe -fomit-frame-pointer - falign-functions=3D4 -falig= n-loops=3D4 -falign-jumps=3D4 -mpreferred-stack-boundary=3D2 -fexpensive-= optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -f unroll-= loops -finline-functions -mcpu=3Dathlon | sed -e 's/-fomit-frame-pointe= r//g;s/-finline-functions//g;s/-frename-registers//g'` -o libwine.la a= fl.lo driver.lo elfdll.lo ext.lo ldt_keeper.lo module.lo pe_image.lo pe_res= ource.lo re source.lo registry.lo vfl.lo win32.lo stubs.lo wrapper.lo > libtool: link: `stubs.lo' is not a valid libtool object > make[4]: *** [libwine.la] Error 1 > make[4]: Leaving directory `/home/arvid/xine-lib/src/libw32dll/wine' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/arvid/xine-lib/src/libw32dll' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/arvid/xine-lib/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/arvid/xine-lib' > make: *** [all] Error 2 >=20 >=20 > ------------------------------------------------------------------ > Gratis svenskpr=E5kig e-post och f=F6rm=E5nliga textmeddelanden > http://webmail.surfnet.fi > ------------------------------------------------------------------ Miguel, Can you look at this? Your change to the src/libw32dll/wine/Makefile.am on line 31 causes libtool-1.5.x to fail to compile the stubs.s file into the library.=20 Index: Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/xine/xine-lib/src/libw32dll/wine/Makefile.am,v retrieving revision 1.31 retrieving revision 1.30 diff -U2 -r1.31 -r1.30 --- Makefile.am 13 Aug 2003 18:09:52 -0000 1.31 +++ Makefile.am 20 Jul 2003 20:48:40 -0000 1.30 @@ -76,7 +76,7 @@ =20 %.lo: %.s - $(CC) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< + $(CCASCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< =20 %.lo: %.S - $(CC) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< + $(CCASCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< I know that you remarked that CCASCOMPILE doesn't work there for the compiling of .s files. I don't understand why it does not work. Its defined in xine-lib/src/m4/as.m4. If what CCASCOMPILE is defined to is wrong then we should be changing that in the as.m4 and not the Makefile.am. Stephen --=20 Stephen Torri GPG Key: http://www.cs.wustl.edu/~storri/storri.asc |