#20 Problem with make on suse linux 9.1

open
nobody
None
5
2005-10-12
2005-10-12
Anonymous
No

parthiv.shah@easi.de

Hello,

gnu-queue version 1.30.1
I following the following steps:
1. ./configure --enable-root
2. automake --add-missing --gnu Makefile
3. added #include "time.h"

now when I try to make I get the following errors.

cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
make all-am
make[1]: Entering directory
`/scratch/gnu-queue_Unpack/queue-1.30.1'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
queue.o -MD -MP -MF ".deps/queue.Tpo" -c -o queue.o
queue.c; \ then mv -f ".deps/queue.Tpo" ".deps/queue.Po"; else rm
-f ".deps/queue.Tpo"; exit 1; fi
In file included from queue.c:34:
queue.h:83: error: conflicting types for `sys_siglist'
/usr/include/signal.h:298: error: previous declaration
of `sys_siglist'
queue.c: In function `main':
queue.c:1025: warning: passing arg 2 of `signal' from
incompatible pointer type
queue.c:1323: warning: passing arg 2 of `accept' from
incompatible pointer type
queue.c:1411:23: missing terminating " character
queue.c:1413:81: missing terminating " character
queue.c:1476: warning: assignment makes pointer from
integer without a cast
queue.c:1516: warning: assignment makes pointer from
integer without a cast
make[1]: *** [queue.o] Error 1
make[1]: Leaving directory
`/scratch/gnu-queue_Unpack/queue-1.30.1'
make: *** [all] Error 2

How Shall i proceed??
regards,
parthiv

Discussion

  • Parthiv Shah
    Parthiv Shah
    2005-10-13

    Logged In: YES
    user_id=1360578

    Hello,

    queue.h:83: error: conflicting types for `sys_siglist'
    /usr/include/signal.h:298: error: previous declaration
    of `sys_siglist'

    you can fix the above mentioned error with sys_siglist by
    adding the following line in the queue.h file
    #define SYS_SIGLIST_DECLARED
    just before
    #ifndef SYS_SIGLIST_DECLARED

    The rest of the error with missing terminating ", probably
    the text editor has wraped the long lines. Check them out
    manually line by line.

    Hope it works
    Parthiv