dereferencing pointer to incomplete type

Sharath
2007-04-05
2013-06-04
  • Sharath
    Sharath
    2007-04-05

    Hi, 
    Iam trying to build the source code for GNU Queue on Linux.
    I executed the command --> ./configure --prefix=queue ; make ; make install 
    on following sources
    queue-1.40.1beta
    queue-1.30.1
    queue-1.20.1
    At the compilation stage Iam getting the following error for all the above sources
    queued.c:3923: dereferencing pointer to incomplete type
    queued.c:3923: dereferencing pointer to incomplete type
    queued.c:3923: dereferencing pointer to incomplete type
    queued.c:3923: dereferencing pointer to incomplete type
    queued.c:3923: dereferencing pointer to incomplete type
    queued.c:3923: dereferencing pointer to incomplete type
    queued.c:3931: dereferencing pointer to incomplete type
    queued.c:3931: dereferencing pointer to incomplete type
    queued.c:3935: dereferencing pointer to incomplete type
    queued.c:3936: dereferencing pointer to incomplete type
    queued.c:3936: dereferencing pointer to incomplete type
    queued.c:3938: dereferencing pointer to incomplete type
    queued.c:3938: dereferencing pointer to incomplete type
    queued.c:3946: dereferencing pointer to incomplete type
    queued.c:3946: dereferencing pointer to incomplete type
    queued.c:3947: dereferencing pointer to incomplete type
    queued.c:3947: dereferencing pointer to incomplete type
    queued.c:3955: dereferencing pointer to incomplete type
    queued.c:3955: dereferencing pointer to incomplete type
    queued.c: In function `check_query':
    queued.c:4015: warning: passing arg 2 of `bind' from incompatible pointer type
    queued.c:4041: warning: passing arg 2 of `bind' from incompatible pointer type
    queued.c:4268: warning: assignment makes pointer from integer without a cast
    queued.c:4300: warning: assignment makes pointer from integer without a cast

    Can someone help me to fix this error.
    Thanks & Regards,
    Sharath