It seems my source tree wasn't clean. I removed the old tree and that error is gone.
Thanks, Jianjun On 09/19/2016 02:51 PM, John Snow wrote: > > > On 09/19/2016 05:44 PM, Peter Maydell wrote: >> On 19 September 2016 at 22:38, John Snow <js...@redhat.com> wrote: >>> >>> >>> On 09/19/2016 05:17 PM, Jianjun Duan wrote: >>>> >>>> Hi, >>>> I ran into the follow problems when I tried to build code based on >>>> latest master or ppc-for-2.8: >>>> >>>> hw/ide/core.c: In function ‘ide_init_ioport’: >>>> hw/ide/core.c:2622:39: error: ‘IDEBus’ has no member named >>>> ‘portio_list’ >>>> isa_register_portio_list(dev, &bus->portio_list, >>>> ^ >>>> hw/ide/core.c:2626:43: error: ‘IDEBus’ has no member named >>>> ‘portio2_list’ >>>> isa_register_portio_list(dev, &bus->portio2_list, >>>> ^ >>>> make: *** [hw/ide/core.o] Error 1 >>>> >>>> Is there a patch available for this? >>>> >>>> Thanks, >>>> Jianjun >>>> >>>> >>> >>> Introduced in e305a16510afa74eec20390479e349402e55ef4c. >>> >>> Looks related to Marc's recent work, whom I have CC'd. >> >> That commit adds the 'portio_list' and 'portio2_list' >> fields to struct IDEBus, though (and it passed build tests >> unless I messed something up testing the merge)... >> >> thanks >> -- PMM >> > > Serves me right for looking quickly. > > Jianjun: Can you perform a build after a make distclean? Maybe you've > got some outdated files in your tree ...? > > --js >