dev_t ?

From: Sam (sah_at_softcardsystems.com)
Date: 08/31/04

  • Next message: Poul-Henning Kamp: "Re: dev_t ?"
    Date: Tue, 31 Aug 2004 15:21:23 -0500 (EST)
    To: freebsd-arch@freebsd.org
    
    

    Following dev/ata/ata-disk.c:200 I'm doing the following:

    dev = disk_create(...);
    dev->si_drv1 = d;
    dev->si_iosize_max = 1024;
    d->dev = dev;

    When compiling I get "dereferencing pointer to incomplete type" errors.

    Am I missing something here? Both code sets use dev_t types.
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Poul-Henning Kamp: "Re: dev_t ?"

    Relevant Pages

    • Re: documentation for vm86()
      ... these are the errors while compiling timer.c ... timer.c:84: dereferencing pointer to incomplete type ... static inline struct tm * now// ...
      (comp.os.linux.development.system)
    • Re: documentation for vm86()
      ... these are the errors while compiling timer.c ... timer.c:84: dereferencing pointer to incomplete type ... static inline struct tm * now// ...
      (comp.os.linux.development.system)
    • Fedora 4 Creative Sound Blaster Live;
      ... audio.c:510: error: dereferencing pointer to incomplete type ... audio.c:502: warning: unused variable ‘format’ ... audio.c:535: error: storage size of ‘format’ isn’t known ...
      (Fedora)
    • rebuilding a module of my kernel
      ... `it_interval' has incomplete type ... hci_usb.h:71: error: dereferencing pointer to ... hci_usb.h:124: warning: no semicolon at end of struct ...
      (Fedora)
    • security/keys/key.c broken with defconfig
      ... security/keys/key.c:153: error: dereferencing pointer to incomplete type ... security/keys/key.c:153: warning: initialization from incompatible pointer type ... security/keys/key.c:655: warning: type defaults to `int' in declaration of `type name' ...
      (Linux-Kernel)