Menu

#1 compile error: storage size of `probe' isn't known

open
None
6
2004-02-23
2003-09-16
No

When compiling LavaRnd-0.1.1, I got

$ make clobber; make all
[...]
cc -DLAVA_DEBUG -Wall -Werror -g3 -O3 -I. -c -o
pwc_drvr.o pwc_drvr.c
pwc_drvr.c: In function `pwc_get':
pwc_drvr.c:510: storage size of `probe' isn't known

I found that this was caused by pwc_cam.h containing

#include "/usr/src/linux/drivers/usb/pwc-ioctl.h"

but that pwc-ioctl.h does not include the definition of
struct probe. When I changed pwc_cam.h to instead refer to
lib/LavaRnd/have/pwc-ioctl-8.6.h, that problem went away.

My system:
Slackware 8.1
Linux 2.4.18
gcc 2.95.3

Discussion

  • (chongo) Landon Curt Noll

    • priority: 5 --> 6
    • assigned_to: nobody --> lcn2
     
  • (chongo) Landon Curt Noll

    Logged In: YES
    user_id=34397

    Thanks for report. I plan to adderss this issue in the next release.

     
  • (chongo) Landon Curt Noll

    • status: open --> closed
     
  • (chongo) Landon Curt Noll

    Logged In: YES
    user_id=34397

    Closed by mistake, sorry!

     
  • (chongo) Landon Curt Noll

    • status: closed --> open
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.