I am trying to
recompile qmailadmin 1.2.1 and keep recieving this error
message
gcc -I.
-I/home/vpopmail/include -I. -I. -I. -g -O2 -c
`test -f 'dotqmail.c' || echo './'`dotqmail.c
In file included from dotqmail.c:27:
config.h:131:1: warning: "PACKAGE_NAME" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:221:1: warning: this is the location of the previous definition
In file included from dotqmail.c:27:
config.h:134:1: warning: "PACKAGE_STRING" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:224:1: warning: this is the location of the previous definition
In file included from dotqmail.c:27:
config.h:137:1: warning: "PACKAGE_TARNAME" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:227:1: warning: this is the location of the previous definition
In file included from dotqmail.c:27:
config.h:140:1: warning: "PACKAGE_VERSION" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:230:1: warning: this is the location of the previous definition
gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -lcrypt -lcrypt
/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0xcd): In function `vadddomain':
/usr/local/src/vpopmail-5.4.0/vpopmail.c:107: undefined reference to `__ctype_b'
/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0x22e4): In function `lowerit':
/usr/local/src/vpopmail-5.4.0/vpopmail.c:1441: undefined reference to `__ctype_b'
/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0x22f0):/usr/local/src/vpopmail-5.4.0/vpopmail.c:1441: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
make[1]: *** [qmailadmin] Error 1
make[1]: Leaving directory `/downloads/qmailrocks/qmailadmin-1.2.1'
make: *** [all] Error 2
In file included from dotqmail.c:27:
config.h:131:1: warning: "PACKAGE_NAME" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:221:1: warning: this is the location of the previous definition
In file included from dotqmail.c:27:
config.h:134:1: warning: "PACKAGE_STRING" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:224:1: warning: this is the location of the previous definition
In file included from dotqmail.c:27:
config.h:137:1: warning: "PACKAGE_TARNAME" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:227:1: warning: this is the location of the previous definition
In file included from dotqmail.c:27:
config.h:140:1: warning: "PACKAGE_VERSION" redefined
In file included from dotqmail.c:26:
/home/vpopmail/include/vpopmail_config.h:230:1: warning: this is the location of the previous definition
gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -lcrypt -lcrypt
/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0xcd): In function `vadddomain':
/usr/local/src/vpopmail-5.4.0/vpopmail.c:107: undefined reference to `__ctype_b'
/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0x22e4): In function `lowerit':
/usr/local/src/vpopmail-5.4.0/vpopmail.c:1441: undefined reference to `__ctype_b'
/home/vpopmail/lib/libvpopmail.a(vpopmail.o)(.text+0x22f0):/usr/local/src/vpopmail-5.4.0/vpopmail.c:1441: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
make[1]: *** [qmailadmin] Error 1
make[1]: Leaving directory `/downloads/qmailrocks/qmailadmin-1.2.1'
make: *** [all] Error 2
My src directory for vpopmail is not in this location,
and i'm confused as to why it is looking there.
Kevin
Kevin Aleshire, MCP
Performance Support, Inc
5775 Carmichael Parkway
Montgomery, AL 36117
1-800-752-1140
334-244-9797