|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Broken build on NetBSD5/amd64Hi,
Ive downloaded the latest .tar.gz from the website and Io doesn't build for me any more (NetBSD5/amd64). Error is: ../basekit/_build/headers/PortableStdint.h:710: error: conflicting types for '__uintptr_t' /usr/include/machine/int_types.h:61: error: previous declaration of '__uintptr_t' was here ../basekit/_build/headers/PortableStdint.h:711: error: conflicting types for '__intptr_t' /usr/include/machine/int_types.h:60: error: previous declaration of '__intptr_t' was here In file included from source/PHash.h:16, from source/IoObject.h:11, from source/IoCompiler.h:8, from source/IoCompiler.c:9: ../basekit/_build/headers/PortableStdint.h:710: error: conflicting types for '__uintptr_t' /usr/include/machine/int_types.h:61: error: previous declaration of '__uintptr_t' was here ../basekit/_build/headers/PortableStdint.h:711: error: conflicting types for '__intptr_t' /usr/include/machine/int_types.h:60: error: previous declaration of '__intptr_t' was here gmake[2]: *** [_build/objs/IoCall.o] Error 1 gmake[2]: *** [_build/objs/IoDebugger.o] Error 1 gmake[2]: *** [_build/objs/IoCompiler.o] Error 1 gmake[2]: Leaving directory `/home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm/work/io/libs/iovm' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm/work/io/libs/iovm' gmake: *** [vm] Error 2 *** Error code 2 Stop. make: stopped in /home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm *** Error code 1 Stop. make: stopped in /usr/pkgsrc/wip/io-vm Last build I made was with sources from 2009-02-05, so something has obviously changed since then. Regards -- Milos Negovanovic milos.negovanovic@... |
|
|
Re: Broken build on NetBSD5/amd64On Sat, Jul 04, 2009 at 11:40:56AM +0100, Milos Negovanovic wrote:
> Hi, > > Ive downloaded the latest .tar.gz from the website and Io doesn't build > for me any more (NetBSD5/amd64). Error is: > > > ../basekit/_build/headers/PortableStdint.h:710: error: conflicting types > for '__uintptr_t' > /usr/include/machine/int_types.h:61: error: previous declaration of > '__uintptr_t' was here > ../basekit/_build/headers/PortableStdint.h:711: error: conflicting types > for '__intptr_t' > /usr/include/machine/int_types.h:60: error: previous declaration of > '__intptr_t' was here > In file included from source/PHash.h:16, > from source/IoObject.h:11, > from source/IoCompiler.h:8, > from source/IoCompiler.c:9: > ../basekit/_build/headers/PortableStdint.h:710: error: conflicting types > for '__uintptr_t' > /usr/include/machine/int_types.h:61: error: previous declaration of > '__uintptr_t' was here > ../basekit/_build/headers/PortableStdint.h:711: error: conflicting types > for '__intptr_t' > /usr/include/machine/int_types.h:60: error: previous declaration of > '__intptr_t' was here > gmake[2]: *** [_build/objs/IoCall.o] Error 1 > gmake[2]: *** [_build/objs/IoDebugger.o] Error 1 > gmake[2]: *** [_build/objs/IoCompiler.o] Error 1 > gmake[2]: Leaving directory > `/home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm/work/io/libs/iovm' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm/work/io/libs/iovm' > gmake: *** [vm] Error 2 > *** Error code 2 > > Stop. > make: stopped in /home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm > *** Error code 1 > > Stop. > make: stopped in /usr/pkgsrc/wip/io-vm > > > Last build I made was with sources from 2009-02-05, so something has > obviously changed since then. > > After commenting out bunch of typedef-s in PortableStdint.h build continues ... not so sure this is the best way to fix it tho. Any suggestions? Regards -- Milos Negovanovic milos.negovanovic@... |
|
|
Re: Broken build on NetBSD5/amd64 [1 Attachment]On Sat, Jul 04, 2009 at 12:09:04PM +0100, Milos Negovanovic wrote:
> On Sat, Jul 04, 2009 at 11:40:56AM +0100, Milos Negovanovic wrote: > > After commenting out bunch of typedef-s in PortableStdint.h build > continues ... not so sure this is the best way to fix it tho. Any > suggestions? > Patch that I have applied is attached. Is this correct thing to do? Regards -- Milos Negovanovic milos.negovanovic@... |
|
|
Re: Re: Broken build on NetBSD5/amd64All you're missing is an ifndef preprocessor directive in that header
for __NetBSD__. I'm mobile right now so I can't tell you exactly where. Regards, Jeremy Tregunna Mobile: +1 (519) 498-8299 Sent from my iPhone On 2009-07-04, at 7:09, Milos Negovanovic <milos.negovanovic@... > wrote: > On Sat, Jul 04, 2009 at 11:40:56AM +0100, Milos Negovanovic wrote: >> Hi, >> >> Ive downloaded the latest .tar.gz from the website and Io doesn't >> build >> for me any more (NetBSD5/amd64). Error is: >> >> >> ../basekit/_build/headers/PortableStdint.h:710: error: conflicting >> types >> for '__uintptr_t' >> /usr/include/machine/int_types.h:61: error: previous declaration of >> '__uintptr_t' was here >> ../basekit/_build/headers/PortableStdint.h:711: error: conflicting >> types >> for '__intptr_t' >> /usr/include/machine/int_types.h:60: error: previous declaration of >> '__intptr_t' was here >> In file included from source/PHash.h:16, >> from source/IoObject.h:11, >> from source/IoCompiler.h:8, >> from source/IoCompiler.c:9: >> ../basekit/_build/headers/PortableStdint.h:710: error: conflicting >> types >> for '__uintptr_t' >> /usr/include/machine/int_types.h:61: error: previous declaration of >> '__uintptr_t' was here >> ../basekit/_build/headers/PortableStdint.h:711: error: conflicting >> types >> for '__intptr_t' >> /usr/include/machine/int_types.h:60: error: previous declaration of >> '__intptr_t' was here >> gmake[2]: *** [_build/objs/IoCall.o] Error 1 >> gmake[2]: *** [_build/objs/IoDebugger.o] Error 1 >> gmake[2]: *** [_build/objs/IoCompiler.o] Error 1 >> gmake[2]: Leaving directory >> `/home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm/work/io/libs/iovm' >> gmake[1]: *** [all] Error 2 >> gmake[1]: Leaving directory >> `/home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm/work/io/libs/iovm' >> gmake: *** [vm] Error 2 >> *** Error code 2 >> >> Stop. >> make: stopped in /home/stuff/src/netbsd/pkgsrc/pkgsrc_q/wip/io-vm >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/pkgsrc/wip/io-vm >> >> >> Last build I made was with sources from 2009-02-05, so something has >> obviously changed since then. >> >> > > After commenting out bunch of typedef-s in PortableStdint.h build > continues ... not so sure this is the best way to fix it tho. Any > suggestions? > > Regards > -- > Milos Negovanovic > milos.negovanovic@... > > > ------------------------------------ > > Yahoo! Groups Links > > > |
|
|
Re: Re: Broken build on NetBSD5/amd64On Sat, Jul 04, 2009 at 08:56:03AM -0400, Jeremy Tregunna wrote:
> All you're missing is an ifndef preprocessor directive in that header > for __NetBSD__. I'm mobile right now so I can't tell you exactly where. > > Regards, > > Jeremy Tregunna > Mobile: +1 (519) 498-8299 > > Sent from my iPhone > Cool, Its not urgent so I can wait. :) Regards -- Milos Negovanovic milos.negovanovic@... |
| Free embeddable forum powered by Nabble | Forum Help |