Skip to contentSkip to conversation

compile error

2.5.54, PNP, SOUND Jochen Hein 3 participants 5 messages Jan 2, 2003 – Jan 3, 2003

lore
Share & tools
lore
#0 lore raw

It compiled well without PNP, now with the following PNP in .config:

#
# Plug and Play support
#
CONFIG_PNP=y
CONFIG_PNP_NAMES=y
CONFIG_PNP_CARD=y
CONFIG_PNP_DEBUG=y

#
# Protocols
#
CONFIG_ISAPNP=y
CONFIG_PNPBIOS=y

the error is:

CC [M] sound/isa/cs423x/cs4232.o
In file included from sound/isa/cs423x/cs4232.c:2:
sound/isa/cs423x/cs4236.c: In function `snd_card_cs4236_isapnp':
sound/isa/cs423x/cs4236.c:287: warning: implicit declaration of function isapnp_find_dev' sound/isa/cs423x/cs4236.c:287: warning: assignment makes pointer from integer without a cast sound/isa/cs423x/cs4236.c:288: structure has no member named active' sound/isa/cs423x/cs4236.c:292: warning: assignment makes pointer from integer without a cast sound/isa/cs423x/cs4236.c:293: structure has no member named active' sound/isa/cs423x/cs4236.c:298: warning: assignment makes pointer from integer without a cast sound/isa/cs423x/cs4236.c:299: structure has no member named active' sound/isa/cs423x/cs4236.c:307: structure has no member named prepare' sound/isa/cs423x/cs4236.c:310: warning: implicit declaration of function isapnp_resource_change' sound/isa/cs423x/cs4236.c:321: structure has no member named activate' sound/isa/cs423x/cs4236.c:339: structure has no member named prepare' sound/isa/cs423x/cs4236.c:340: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:345: structure has no member named activate' sound/isa/cs423x/cs4236.c:347: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:356: structure has no member named prepare' sound/isa/cs423x/cs4236.c:357: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:358: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:365: structure has no member named activate' sound/isa/cs423x/cs4236.c: In function snd_card_cs4236_deactivate':
sound/isa/cs423x/cs4236.c:386: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:390: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:394: structure has no member named deactivate' sound/isa/cs423x/cs4236.c: In function alsa_card_cs423x_init':
sound/isa/cs423x/cs4236.c:588: warning: implicit declaration of function `isapnp_probe_cards' make[4]: *** [sound/isa/cs423x/cs4232.o] Fehler 1
make[3]: *** [sound/isa/cs423x] Fehler 2
make[2]: *** [sound/isa] Fehler 2
make[1]: *** [sound] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.5.54'
make: *** [stamp-build] Fehler 2

Jochen

Signature · 1 line
#include <~/.signature>: permission denied
#1 lore raw
Quoted 11 lines · Jochen Hein

It compiled well without PNP, now with the following PNP in .config:

#
# Plug and Play support
#
CONFIG_PNP=y
CONFIG_PNP_NAMES=y
CONFIG_PNP_CARD=y
CONFIG_PNP_DEBUG=y

Quoted 5 lines

#
# Protocols
#
CONFIG_ISAPNP=y
CONFIG_PNPBIOS=y

I got the same problem. I am guessing maybe a missing include file?

Steven

#2 lore raw
Quoted 13 lines · Steven Barnhart
Quoted 11 lines · Jochen Hein

It compiled well without PNP, now with the following PNP in .config:

#
# Plug and Play support
#
CONFIG_PNP=y
CONFIG_PNP_NAMES=y
CONFIG_PNP_CARD=y
CONFIG_PNP_DEBUG=y

Quoted 7 lines
Quoted 5 lines

#
# Protocols
#
CONFIG_ISAPNP=y
CONFIG_PNPBIOS=y

I got the same problem. I am guessing maybe a missing include file?

No, this driver isn't converted to the new PNP code.

Quoted 1 line

Steven

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#3 lore raw
In reply to Jochen Hein
Quoted 35 lines · Jochen Hein

CC [M] sound/isa/cs423x/cs4232.o
In file included from sound/isa/cs423x/cs4232.c:2:
sound/isa/cs423x/cs4236.c: In function `snd_card_cs4236_isapnp':
sound/isa/cs423x/cs4236.c:287: warning: implicit declaration of function isapnp_find_dev' sound/isa/cs423x/cs4236.c:287: warning: assignment makes pointer from integer without a cast sound/isa/cs423x/cs4236.c:288: structure has no member named active' sound/isa/cs423x/cs4236.c:292: warning: assignment makes pointer from integer without a cast sound/isa/cs423x/cs4236.c:293: structure has no member named active' sound/isa/cs423x/cs4236.c:298: warning: assignment makes pointer from integer without a cast sound/isa/cs423x/cs4236.c:299: structure has no member named active' sound/isa/cs423x/cs4236.c:307: structure has no member named prepare' sound/isa/cs423x/cs4236.c:310: warning: implicit declaration of function isapnp_resource_change' sound/isa/cs423x/cs4236.c:321: structure has no member named activate' sound/isa/cs423x/cs4236.c:339: structure has no member named prepare' sound/isa/cs423x/cs4236.c:340: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:345: structure has no member named activate' sound/isa/cs423x/cs4236.c:347: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:356: structure has no member named prepare' sound/isa/cs423x/cs4236.c:357: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:358: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:365: structure has no member named activate' sound/isa/cs423x/cs4236.c: In function snd_card_cs4236_deactivate':
sound/isa/cs423x/cs4236.c:386: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:390: structure has no member named deactivate' sound/isa/cs423x/cs4236.c:394: structure has no member named deactivate' sound/isa/cs423x/cs4236.c: In function alsa_card_cs423x_init':
sound/isa/cs423x/cs4236.c:588: warning: implicit declaration of function `isapnp_probe_cards' make[4]: *** [sound/isa/cs423x/cs4232.o] Fehler 1
make[3]: *** [sound/isa/cs423x] Fehler 2
make[2]: *** [sound/isa] Fehler 2
make[1]: *** [sound] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.5.54'
make: *** [stamp-build] Fehler 2

Quoted 1 line

Jochen

I got the same problem. I'm guessing maybe a missing include file?

Steven

#4 lore raw
Quoted 4 lines · Steven Barnhart

I got the same problem. I'm guessing maybe a missing include file?

Steven

Please ignore this..there goes pan and its dumb archiving again. Sorry folks.