* Got some error with cvs-head
@ 2009-07-25 8:57 Hui Zhu
2009-07-25 9:02 ` Hui Zhu
0 siblings, 1 reply; 3+ messages in thread
From: Hui Zhu @ 2009-07-25 8:57 UTC (permalink / raw)
To: dj; +Cc: gdb
gcc -g -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
-I../../src/gdb/../include -I../libdecnumber
-I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement
-Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
-Wno-switch -Wno-char-subscripts -Werror -c -o remote.o -MT remote.o
-MMD -MP -MF .deps/remote.Tpo ../../src/gdb/remote.c
../../src/gdb/remote.c:164: error: conflicting types for 'crc32'
../../src/gdb/../include/libiberty.h:316: error: previous declaration
of 'crc32' was here
make: *** [remote.o] Error 1
Looks like new crc32 make something wrong.
Thanks,
Hui
On Sat, Jul 25, 2009 at 08:01, <dj@sourceware.org> wrote:
> CVSROOT: /cvs/src
> Module name: src
> Changes by: dj@sourceware.org 2009-07-25 00:01:58
>
> Modified files:
> libiberty : ChangeLog Makefile.in functions.texi
> Added files:
> libiberty : crc32.c
>
> Log message:
> merge from gcc
>
> Patches:
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/crc32.c.diff?cvsroot=src&r1=NONE&r2=1.1
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.497&r2=1.498
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/Makefile.in.diff?cvsroot=src&r1=1.96&r2=1.97
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/functions.texi.diff?cvsroot=src&r1=1.34&r2=1.35
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Got some error with cvs-head
2009-07-25 8:57 Got some error with cvs-head Hui Zhu
@ 2009-07-25 9:02 ` Hui Zhu
2009-07-25 14:18 ` Hui Zhu
0 siblings, 1 reply; 3+ messages in thread
From: Hui Zhu @ 2009-07-25 9:02 UTC (permalink / raw)
To: dj; +Cc: gdb
And others:
gcc -DHAVE_CONFIG_H -I. -I../../src/binutils -I. -I.
-I../../src/binutils -I../bfd -I../../src/binutils/../bfd
-I../../src/binutils/../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
../../src/binutils/readelf.c
In file included from ../../src/binutils/readelf.c:146:
../../src/binutils/../include/libiberty.h:316: error: conflicting
types for 'crc32'
/usr/include/zlib.h:1305: error: previous declaration of 'crc32' was here
make[4]: *** [readelf.o] Error 1
make[4]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory `/home/teawater/gdb/orig/bgdb'
make: *** [all] Error 2
On Sat, Jul 25, 2009 at 16:56, Hui Zhu<teawater@gmail.com> wrote:
> gcc -g -I. -I../../src/gdb -I../../src/gdb/common
> -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
> -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
> -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
> -I../../src/gdb/../include -I../libdecnumber
> -I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
> -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement
> -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
> -Wno-switch -Wno-char-subscripts -Werror -c -o remote.o -MT remote.o
> -MMD -MP -MF .deps/remote.Tpo ../../src/gdb/remote.c
> ../../src/gdb/remote.c:164: error: conflicting types for 'crc32'
> ../../src/gdb/../include/libiberty.h:316: error: previous declaration
> of 'crc32' was here
> make: *** [remote.o] Error 1
>
> Looks like new crc32 make something wrong.
>
> Thanks,
> Hui
>
> On Sat, Jul 25, 2009 at 08:01, <dj@sourceware.org> wrote:
>> CVSROOT: /cvs/src
>> Module name: src
>> Changes by: dj@sourceware.org 2009-07-25 00:01:58
>>
>> Modified files:
>> libiberty : ChangeLog Makefile.in functions.texi
>> Added files:
>> libiberty : crc32.c
>>
>> Log message:
>> merge from gcc
>>
>> Patches:
>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/crc32.c.diff?cvsroot=src&r1=NONE&r2=1.1
>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.497&r2=1.498
>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/Makefile.in.diff?cvsroot=src&r1=1.96&r2=1.97
>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/functions.texi.diff?cvsroot=src&r1=1.34&r2=1.35
>>
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Got some error with cvs-head
2009-07-25 9:02 ` Hui Zhu
@ 2009-07-25 14:18 ` Hui Zhu
0 siblings, 0 replies; 3+ messages in thread
From: Hui Zhu @ 2009-07-25 14:18 UTC (permalink / raw)
To: dj; +Cc: gdb
It's OK with me now. Thanks DJ.
Hui
On Sat, Jul 25, 2009 at 17:01, Hui Zhu<teawater@gmail.com> wrote:
> And others:
>
> gcc -DHAVE_CONFIG_H -I. -I../../src/binutils -I. -I.
> -I../../src/binutils -I../bfd -I../../src/binutils/../bfd
> -I../../src/binutils/../include
> -DLOCALEDIR="\"/usr/local/share/locale\""
> -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
> ../../src/binutils/readelf.c
> In file included from ../../src/binutils/readelf.c:146:
> ../../src/binutils/../include/libiberty.h:316: error: conflicting
> types for 'crc32'
> /usr/include/zlib.h:1305: error: previous declaration of 'crc32' was here
> make[4]: *** [readelf.o] Error 1
> make[4]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils'
> make[1]: *** [all-binutils] Error 2
> make[1]: Leaving directory `/home/teawater/gdb/orig/bgdb'
> make: *** [all] Error 2
>
>
> On Sat, Jul 25, 2009 at 16:56, Hui Zhu<teawater@gmail.com> wrote:
>> gcc -g -I. -I../../src/gdb -I../../src/gdb/common
>> -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
>> -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
>> -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
>> -I../../src/gdb/../include -I../libdecnumber
>> -I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
>> -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement
>> -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
>> -Wno-switch -Wno-char-subscripts -Werror -c -o remote.o -MT remote.o
>> -MMD -MP -MF .deps/remote.Tpo ../../src/gdb/remote.c
>> ../../src/gdb/remote.c:164: error: conflicting types for 'crc32'
>> ../../src/gdb/../include/libiberty.h:316: error: previous declaration
>> of 'crc32' was here
>> make: *** [remote.o] Error 1
>>
>> Looks like new crc32 make something wrong.
>>
>> Thanks,
>> Hui
>>
>> On Sat, Jul 25, 2009 at 08:01, <dj@sourceware.org> wrote:
>>> CVSROOT: /cvs/src
>>> Module name: src
>>> Changes by: dj@sourceware.org 2009-07-25 00:01:58
>>>
>>> Modified files:
>>> libiberty : ChangeLog Makefile.in functions.texi
>>> Added files:
>>> libiberty : crc32.c
>>>
>>> Log message:
>>> merge from gcc
>>>
>>> Patches:
>>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/crc32.c.diff?cvsroot=src&r1=NONE&r2=1.1
>>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.497&r2=1.498
>>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/Makefile.in.diff?cvsroot=src&r1=1.96&r2=1.97
>>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/functions.texi.diff?cvsroot=src&r1=1.34&r2=1.35
>>>
>>>
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-25 14:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-25 8:57 Got some error with cvs-head Hui Zhu
2009-07-25 9:02 ` Hui Zhu
2009-07-25 14:18 ` Hui Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox