Re: Compile error (storage_t)

Rakesh Sharma <[email protected]>
Newsgroups gmane.mail.qmail.admin
Message-ID <[email protected]>

"Phil B." <[email protected]> wrote:

>I guess I'm missing a dev package which I must have had in the past and
>don't know (because I used to have qmailadmin on here), but compilation of
>qmailadmin 1.2.16 is failing. The last lines of make are as follows:
>
>make  all-am
>make[1]: Entering directory `/root/qmailadmin-1.2.16'
>gcc -I. -I/home/vpopmail/include  -I.     -Wall -MT user.o -MD -MP -MF
>.deps/user.Tpo -c -o user.o user.c
>user.c: In function ‘show_user_lines’:
>user.c:173: error: ‘storage_t’ undeclared (first use in this function)
>user.c:173: error: (Each undeclared identifier is reported only once
>user.c:173: error: for each function it appears in.)
>user.c:173: error: expected ‘;’ before ‘diskquota’
>user.c:174: error: expected ‘;’ before ‘maxmsg’
>user.c:183: warning: implicit declaration of function ‘readuserquota’
>user.c:183: error: ‘diskquota’ undeclared (first use in this function)
>user.c:183: error: ‘maxmsg’ undeclared (first use in this function)
>make[1]: *** [user.o] Error 1
>make[1]: Leaving directory `/root/qmailadmin-1.2.16'
>make: *** [all] Error 2
>
>
>
>and for reference, this is what configure had to say. Any and all help
>gratefull received, and apologies for any info missing- just let me know, my
>typing fingers are at your command. You know. To an extent.
>
>./configure --enable-cgibindir=/home/www/shandy.selfloversworld.com/cgi-bin
>checking for a BSD-compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking for a thread-safe mkdir -p... /bin/mkdir -p
>checking for gawk... gawk
>checking whether make sets $(MAKE)... yes
>checking build system type... i686-pc-linux-gnu
>checking host system type... i686-pc-linux-gnu
>checking for gcc... gcc
>checking whether the C compiler works... yes
>checking for C compiler default output file name... a.out
>checking for suffix of executables...
>checking whether we are cross compiling... no
>checking for suffix of object files... o
>checking whether we are using the GNU C compiler... yes
>checking whether gcc accepts -g... yes
>checking for gcc option to accept ISO C89... none needed
>checking for style of include used by make... GNU
>checking dependency style of gcc... gcc3
>checking how to run the C preprocessor... gcc -E
>checking whether ln -s works... yes
>checking whether make sets $(MAKE)... (cached) yes
>checking for ranlib... ranlib
>checking for library containing strerror... none required
>checking for crypt in -lcrypt... yes
>checking for crypt in -lshadow... no
>checking for an ANSI C-conforming const... yes
>checking for grep that handles long lines and -e... /bin/grep
>checking for egrep... /bin/grep -E
>checking for uid_t in sys/types.h... yes
>checking for dirent.h that defines DIR... yes
>checking for library containing opendir... none required
>checking for ANSI C header files... yes
>checking for sys/types.h... yes
>checking for sys/stat.h... yes
>checking for stdlib.h... yes
>checking for string.h... yes
>checking for memory.h... yes
>checking for strings.h... yes
>checking for inttypes.h... yes
>checking for stdint.h... yes
>checking for unistd.h... yes
>checking whether closedir returns void... no
>checking for dup2... yes
>checking for memset... yes
>checking for mkdir... yes
>checking for strcasecmp... yes
>checking for strchr... yes
>checking for strdup... yes
>checking for strncasecmp... yes
>checking for strrchr... yes
>checking for strstr... yes
>checking whether we should prohibit caching... no
>checking whether to require ip authentication... yes
>checking whether to display user index... yes
>checking whether to allow admins to modify user quotas... no
>checking whether to autofill domain name on login page... no
>checking whether to enable catchall accounts... yes
>checking whether to enable trivial password... yes
>checking whether to append the email to the end of the spam command... no
>checking whether to allow spam check enable/disable... no
>checking whether to show help pages... no
>checking for ezmlm-idx... yes
>configure: creating ./config.status
>config.status: creating Makefile
>config.status: creating config.h
>config.status: config.h is unchanged
>config.status: executing depfiles commands
>
>            qmailadmin 1.2.16
>            Current settings
>---------------------------------------
>       cgi-bin dir = /home/www/shandy.selfloversworld.com/cgi-bin
>          html dir = /var/www/html
>         image dir = /var/www/html/images/qmailadmin
>         image URL = /images/qmailadmin
>      template dir = /usr/local/share/qmailadmin
>         qmail dir = /var/qmail
>      vpopmail dir = /home/vpopmail
>   autorespond dir = /usr/bin
>         ezmlm dir = /usr/local/bin/ezmlm
>         ezmlm idx = yes
>   mysql for ezmlm = yes
>              help = no
>      modify quota = no
>   domain autofill = no
> catchall accounts = yes
> trivial passwords = yes
> modify spam check = no
>
>
>

!DSPAM:4e3534a632712253416632!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.