Здравейте,

 

Опитвам се да компилирам qmailadmin (както и преди това vqadmin), но не 
постигам никакъв успех. Гърми по следния начин :

 

make  all-am

make[1]: Entering directory `/downloads/qmailadmin-1.2.13'

source='qmailadmin.c' object='qmailadmin.o' libtool=no \

        depfile='.deps/qmailadmin.Po' tmpdepfile='.deps/qmailadmin.TPo' \

        depmode=gcc3 /bin/bash ./depcomp \

        gcc -I. -I/home/vpopmail/include  -I. -I. -I.     -g -O2 -Wall -c `test 
-f 'qmailadmin.c' || echo './'`qmailadmin.c

In file included from qmailadmin.c:48:

qmailadmin.h:37:1: warning: "MAX_FILE_NAME" redefined

In file included from qmailadmin.c:35:

/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the 
previous definition

qmailadmin.c: In function ‘main’:

qmailadmin.c:212: warning: ignoring return value of ‘chdir’, declared with 
attribute warn_unused_result

qmailadmin.c:261: warning: ignoring return value of ‘chdir’, declared with 
attribute warn_unused_result

source='alias.c' object='alias.o' libtool=no \

        depfile='.deps/alias.Po' tmpdepfile='.deps/alias.TPo' \

        depmode=gcc3 /bin/bash ./depcomp \

        gcc -I. -I/home/vpopmail/include  -I. -I. -I.     -g -O2 -Wall -c `test 
-f 'alias.c' || echo './'`alias.c

In file included from alias.c:41:

qmailadmin.h:37:1: warning: "MAX_FILE_NAME" redefined

In file included from alias.c:30:

/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the 
previous definition

alias.c: In function ‘show_dotqmail_lines’:

alias.c:233: warning: ignoring return value of ‘fgets’, declared with 
attribute warn_unused_result

source='autorespond.c' object='autorespond.o' libtool=no \

        depfile='.deps/autorespond.Po' tmpdepfile='.deps/autorespond.TPo' \

        depmode=gcc3 /bin/bash ./depcomp \

        gcc -I. -I/home/vpopmail/include  -I. -I. -I.     -g -O2 -Wall -c `test 
-f 'autorespond.c' || echo './'`autorespond.c

In file included from autorespond.c:35:

qmailadmin.h:37:1: warning: "MAX_FILE_NAME" redefined

In file included from autorespond.c:29:

/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the 
previous definition

source='forward.c' object='forward.o' libtool=no \

        depfile='.deps/forward.Po' tmpdepfile='.deps/forward.TPo' \

        depmode=gcc3 /bin/bash ./depcomp \

        gcc -I. -I/home/vpopmail/include  -I. -I. -I.     -g -O2 -Wall -c `test 
-f 'forward.c' || echo './'`forward.c

In file included from forward.c:33:

qmailadmin.h:37:1: warning: "MAX_FILE_NAME" redefined

In file included from forward.c:28:

/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the 
previous definition

source='mailinglist.c' object='mailinglist.o' libtool=no \

        depfile='.deps/mailinglist.Po' tmpdepfile='.deps/mailinglist.TPo' \

        depmode=gcc3 /bin/bash ./depcomp \

        gcc -I. -I/home/vpopmail/include  -I. -I. -I.     -g -O2 -Wall -c `test 
-f 'mailinglist.c' || echo './'`mailinglist.c

In file included from mailinglist.c:46:

qmailadmin.h:37:1: warning: "MAX_FILE_NAME" redefined

In file included from mailinglist.c:39:

/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the 
previous definition

mailinglist.c: In function ‘show_mailing_list_line’:

mailinglist.c:145: warning: ignoring return value of ‘fgets’, declared with 
attribute warn_unused_result

mailinglist.c: In function ‘is_mailing_list’:

mailinglist.c:196: warning: ignoring return value of ‘fgets’, declared with 
attribute warn_unused_result

mailinglist.c: In function ‘show_mailing_list_line2’:

mailinglist.c:239: warning: ignoring return value of ‘fgets’, declared with 
attribute warn_unused_result

mailinglist.c: In function ‘ezmlm_make’:

mailinglist.c:564: warning: ignoring return value of ‘chdir’, declared with 
attribute warn_unused_result

mailinglist.c: In function ‘show_list_group_now’:

mailinglist.c:676: warning: ignoring return value of ‘pipe’, declared with 
attribute warn_unused_result

mailinglist.c: In function ‘count_mailinglists’:

mailinglist.c:937: warning: ignoring return value of ‘fgets’, declared with 
attribute warn_unused_result

mailinglist.c: In function ‘get_mailinglist_prefix’:

mailinglist.c:1498: warning: ignoring return value of ‘fgets’, declared 
with attribute warn_unused_result

source='user.c' object='user.o' libtool=no \

        depfile='.deps/user.Po' tmpdepfile='.deps/user.TPo' \

        depmode=gcc3 /bin/bash ./depcomp \

        gcc -I. -I/home/vpopmail/include  -I. -I. -I.     -g -O2 -Wall -c `test 
-f 'user.c' || echo './'`user.c

In file included from user.c:43:

qmailadmin.h:37:1: warning: "MAX_FILE_NAME" redefined

In file included from user.c:32:

/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of the 
previous definition

user.c: In function ‘show_user_lines’:

user.c:97: warning: ignoring return value of ‘fgets’, declared with 
attribute warn_unused_result

user.c: In function ‘call_hooks’:

user.c:522: error: ‘VPOPMAILDIR’ undeclared (first use in this function)

user.c:522: error: (Each undeclared identifier is reported only once

user.c:522: error: for each function it appears in.)

user.c: In function ‘set_qmaildefault’:

user.c:627: error: ‘VPOPMAILDIR’ undeclared (first use in this function)

user.c: In function ‘get_catchall’:

user.c:681: warning: ignoring return value of ‘fgets’, declared with 
attribute warn_unused_result

user.c: In function ‘modusergo’:

user.c:892: warning: ignoring return value of ‘fread’, declared with 
attribute warn_unused_result

make[1]: *** [user.o] Error 1

make[1]: Leaving directory `/downloads/qmailadmin-1.2.13'

make: *** [all] Error 2

 

 

 

Използвам gcc-4.3. Сигурно е някакъв environment проблем, защото google тотално 
мълчи по въпроса. 

 

Някакви идеи ?

 

 

Благодаря предварително J

_______________________________________________
Lug-bg mailing list
Lug-bg@linux-bulgaria.org
http://linux-bulgaria.org/mailman/listinfo/lug-bg

Reply via email to