[IRCServices] Services 5.1pre2

Andrew Church achurch at achurch.org
Sat May 19 21:39:51 PDT 2007


     I can't reproduce this problem.  My best guess is that there's a
problem with the "stdint.h" header file on your system.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>Hello,
>
>I tried to compile the services 5.1pre2 on an amd64 and it bails out
>with the messages attached. although on an chrooted ia32 system it works
>out fine (if I HUP the ircservices process with kill).
>
>
>*arvi at opti:/data/source/ircservices-5.1pre2$ ./configure -ignore-cache
>
>Beginning IRC Services configuration.
>
>Executable (program) files will be installed in /usr/local/sbin
>Data files will be installed in /usr/local/lib/ircservices
>Checking sanity of /bin/sh... high.
>Searching for a suitable compiler... great, found gcc!
>Testing default compiler flags (-O2 -fno-strict-aliasing)... looks good.
>Let's see what libraries we need... -lm -lcrypt
>Checking if we can use dynamic modules... no.
>Checking whether ranlib exists... yes.
>Checking for presence of include files (it's okay if some aren't there):
>    stdint.h... present
>    strings.h... present
>    sys/select.h... present
>    sys/sysproto.h... not present
>Looking for an 8-bit integer type... int8_t
>Looking for a 16-bit integer type... int16_t
>Looking for a 32-bit integer type... int32_t
>Looking for a 64-bit integer type... int64_t
>Checking the size of int... 32 bits
>Checking the size of long... 64 bits
>Checking the size of pointers... 64 bits
>Checking the size of time_t... 64 bits (nifty!)
>Checking the size of gid_t... 32 bits
>Checking for socklen_t... present.
>Seeing if your system defines int16/int32... not found (this is good).
>How to complain when something goes wrong... ah, strerror() is here.
>Looking for other functions we want that you don't have...
>Checking how to install files... looks like "install" will work.
>Seeing if "install" will create directories... OK.
>Checking how to copy directories... /bin/cp -dpr
>Creating config.h... done.
>Creating Makefile.inc... done.
>Saving configuration results in config.cache... done.
>
>All done!  Now edit defs.h as needed, and run "make" (or possibly "gmake")
>to compile Services.  See the README and FAQ if you have any problems.
>
>arvi at opti:/data/source/ircservices-5.1pre2$ make
>touch services.h
>make -C lang index
>make[1]: Entering directory `/localvol/data/source/ircservices-5.1pre2/lang'
>make[1]: »index« ist bereits aktualisiert.
>make[1]: Leaving directory `/localvol/data/source/ircservices-5.1pre2/lang'
>gcc  -DSTATIC_MODULES -O2 -fno-strict-aliasing -g -Wall
>-Wmissing-prototypes -c actions.c -o actions.o
>In file included from services.h:78,
>                 from actions.c:10:
>sockets.h:141: error: expected ‘)’ before ‘per_conn’
>sockets.h:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
>before ‘read_buffer_len’
>sockets.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
>before ‘write_buffer_len’
>sockets.h:156: error: expected declaration specifiers or ‘...’ before
>‘uint64_t’
>sockets.h:156: error: expected declaration specifiers or ‘...’ before
>‘uint64_t’
>sockets.h:157: error: expected declaration specifiers or ‘...’ before
>‘uint32_t’
>sockets.h:158: error: expected declaration specifiers or ‘...’ before
>‘uint32_t’
>In file included from services.h:79,
>                 from actions.c:10:
>send.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
>before ‘protocol_features’
>In file included from services.h:80,
>                 from actions.c:10:
>modes.h:29: error: expected specifier-qualifier-list before ‘uint8_t’
>In file included from services.h:81,
>                 from actions.c:10:
>users.h:37: error: expected specifier-qualifier-list before ‘uint32_t’
>In file included from services.h:85,
>                 from actions.c:10:
>extern.h:154: error: expected declaration specifiers or ‘...’ before
>‘uint32_t’
>extern.h:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
>before ‘time_msec’
>extern.h:234: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
>before ‘*’ token
>extern.h:235: warning: type defaults to ‘int’ in declaration of ‘uint8_t’
>extern.h:235: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
>extern.h:236: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
>before ‘*’ token
>extern.h:237: warning: type defaults to ‘int’ in declaration of ‘uint8_t’
>extern.h:237: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
>In file included from actions.c:13:
>timeout.h:46: error: expected ‘)’ before ‘delay’
>actions.c: In function ‘bad_password’:
>actions.c:67: error: ‘User’ has no member named ‘bad_pw_time’
>actions.c:68: error: ‘User’ has no member named ‘bad_pw_time’
>actions.c:69: error: ‘User’ has no member named ‘bad_pw_count’
>actions.c:70: error: ‘User’ has no member named ‘bad_pw_count’
>actions.c:71: error: ‘User’ has no member named ‘bad_pw_time’
>actions.c:72: error: ‘User’ has no member named ‘bad_pw_count’
>actions.c:77: error: ‘User’ has no member named ‘bad_pw_count’
>actions.c: In function ‘set_cmode’:
>actions.c:477: warning: implicit declaration of function ‘add_timeout_ms’
>actions.c:478: warning: assignment makes pointer from integer without a cast
>
>-- 
>Pol Bettinger
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://lists.ircservices.za.net/mailman/listinfo/ircservices