kernel compile problem at ed0

1999-10-15 Thread Edwin Culp

I seem to have a problem compiling a kernel on my laptop with the ed0
driver that I use for my D-link 660 pcmcia card.

Running current, cvsup this morning.  Make world finished with no problems
but my attempt at kernel compilation yielded:

 if_ed_isa.o: In function `ed_isa_attach':
 if_ed_isa.o(.text+0xef): undefined reference to `ed_alloc_port'
 if_ed_isa.o(.text+0x109): undefined reference to `ed_alloc_memory'
 if_ed_isa.o(.text+0x11a): undefined reference to `ed_alloc_irq'
 if_ed_isa.o(.text+0x127): undefined reference to `edintr'
 if_ed_isa.o(.text+0x152): undefined reference to `ed_attach'
 if_ed_isa.o(.text+0x15a): undefined reference to `ed_release_resources'
 *** Error code 1

 Stop in /usr/src/sys/compile/LAPTOP.

From my cvsup of this morning

 Edit src/sys/dev/ed/if_ed.c
  Add delta 1.164 99.10.15.03.12.46 mdodd
 Edit src/sys/dev/ed/if_ed_isa.c
  Add delta 1.2 99.10.15.03.12.47 mdodd
 Edit src/sys/dev/ed/if_ed_pci.c
  Add delta 1.22 99.10.15.03.12.47 mdodd
 Edit src/sys/dev/ed/if_edvar.h
  Add delta 1.3 99.10.15.03.12.47 mdodd

Maybe I just need to wait for the rest of the changes.

Thanks,

ed



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: kernel compile problem at ed0

1999-10-15 Thread Matthew N. Dodd

Argh.  I know whats wrong but I don't have a good idea on how to cleanly
fix it.

Comment out:

sys/dev/ed/if_ed_isa.c  ...

in sys/i386/conf/files.i386 and reconfig/make etc.

Warner?  You mind taking a peek at sys/dev/ed/if_ed_pccard.c and telling
me how to fix it so we can get rid of the sys/i386/isa/if_ed.c hackery?
AFAIK all that is needed is some way to get the softc struct and to tell
the PCCARD system to reserve a softc of ed_softc size.

On Fri, 15 Oct 1999, Edwin Culp wrote:
 I seem to have a problem compiling a kernel on my laptop with the ed0
 driver that I use for my D-link 660 pcmcia card.
 
 Running current, cvsup this morning.  Make world finished with no problems
 but my attempt at kernel compilation yielded:
 
  if_ed_isa.o: In function `ed_isa_attach':
  if_ed_isa.o(.text+0xef): undefined reference to `ed_alloc_port'
  if_ed_isa.o(.text+0x109): undefined reference to `ed_alloc_memory'
  if_ed_isa.o(.text+0x11a): undefined reference to `ed_alloc_irq'
  if_ed_isa.o(.text+0x127): undefined reference to `edintr'
  if_ed_isa.o(.text+0x152): undefined reference to `ed_attach'
  if_ed_isa.o(.text+0x15a): undefined reference to `ed_release_resources'
  *** Error code 1
 
  Stop in /usr/src/sys/compile/LAPTOP.
 
 From my cvsup of this morning
 
  Edit src/sys/dev/ed/if_ed.c
   Add delta 1.164 99.10.15.03.12.46 mdodd
  Edit src/sys/dev/ed/if_ed_isa.c
   Add delta 1.2 99.10.15.03.12.47 mdodd
  Edit src/sys/dev/ed/if_ed_pci.c
   Add delta 1.22 99.10.15.03.12.47 mdodd
  Edit src/sys/dev/ed/if_edvar.h
   Add delta 1.3 99.10.15.03.12.47 mdodd
 
 Maybe I just need to wait for the rest of the changes.
 
 Thanks,
 
 ed
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent  | ISO8802.5 4ever |



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message