Skip to contentSkip to conversation

build failure

Qemu-devel Jianjun Duan 3 participants 6 messages Sep 19, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Jianjun Duan

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,
                                           ^
Quoted 8 lines

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.

--js

#2 lore raw
Quoted 19 lines · John Snow
Quoted 16 lines · Jianjun Duan

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?

Quoted 8 lines
Quoted 4 lines

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

#3 lore raw
Quoted 27 lines · Peter Maydell
Quoted 26 lines · John Snow
Quoted 12 lines · Jianjun Duan

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,
                                           ^
Quoted 8 lines

make: *** [hw/ide/core.o] Error 1

Is there a patch available for this?

Thanks,
Jianjun

Introduced in e305a16510afa74eec20390479e349402e55ef4c.

Quoted 9 lines
Quoted 1 line

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

#4 lore raw

make distclean didn't solve the problem.

Thanks,
Jianjun

Quoted 49 lines · John Snow
Quoted 29 lines · Peter Maydell
Quoted 28 lines · John Snow
Quoted 14 lines · Jianjun Duan

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,
                                           ^
Quoted 8 lines

make: *** [hw/ide/core.o] Error 1

Is there a patch available for this?

Thanks,
Jianjun

Introduced in e305a16510afa74eec20390479e349402e55ef4c.

Quoted 9 lines
Quoted 1 line

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

#5 lore raw
In reply to John Snow

It seems my source tree wasn't clean. I removed the old tree and that error is gone.

Thanks,
Jianjun

Quoted 49 lines · John Snow
Quoted 29 lines · Peter Maydell
Quoted 28 lines · John Snow
Quoted 14 lines · Jianjun Duan

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,
                                           ^
Quoted 8 lines

make: *** [hw/ide/core.o] Error 1

Is there a patch available for this?

Thanks,
Jianjun

Introduced in e305a16510afa74eec20390479e349402e55ef4c.

Quoted 9 lines
Quoted 1 line

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