[vchkpw] error compiling vpopmail 5.5 with gcc 4.4 in fedora-rawhide

2009-03-29 Thread Itamar Reis Peixoto
gcc  -o vpopmail.o -c vpopmail.c
gcc  -o quota.o -c quota.c
gcc -shared -o libvpopmail.so md5.o bigdir.o vauth.o file_lock.o
vpalias.o seek.o vlimits.o maildirquota.o vutil.o vlistlib.o client.o
conf.o ippp.o backfill.o vpopmail.o quota.o cdb/cdb_hash.o
cdb/cdbmake_add.o cdb/cdbmake_hash.o cdb/cdbmake_pack.o cdb/cdb_seek.o
cdb/cdb_unpack.o
/usr/bin/ld: bigdir.o: relocation R_X86_64_32 against `vdir' can not
be used when making a shared object; recompile with -fPIC
bigdir.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libvpopmail.so] Error 1
[ita...@localhost vpopmail]$




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49cfde0032686029819455!



Re: [vchkpw] error compiling vpopmail 5.5 with gcc 4.4 in fedora-rawhide

2009-03-29 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Itamar Reis Peixoto wrote:
 gcc  -o vpopmail.o -c vpopmail.c
 gcc  -o quota.o -c quota.c
 gcc -shared -o libvpopmail.so md5.o bigdir.o vauth.o file_lock.o
 vpalias.o seek.o vlimits.o maildirquota.o vutil.o vlistlib.o client.o
 conf.o ippp.o backfill.o vpopmail.o quota.o cdb/cdb_hash.o
 cdb/cdbmake_add.o cdb/cdbmake_hash.o cdb/cdbmake_pack.o cdb/cdb_seek.o
 cdb/cdb_unpack.o
 /usr/bin/ld: bigdir.o: relocation R_X86_64_32 against `vdir' can not
 be used when making a shared object; recompile with -fPIC
 bigdir.o: could not read symbols: Bad value
 collect2: ld returned 1 exit status
 make: *** [libvpopmail.so] Error 1
 [ita...@localhost vpopmail]$

Temporary solution is to export CFLAGS=-fPIC and configure  make again.
Permanent fix in svn.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknQLbcACgkQ6QgvSNlBT3CSbwCfQQA3KUtwrtUfd1YjP5UX94Ch
Kk4AnjSLAoGRrC5I2hpNrycT0aDjPLk1
=1oBF
-END PGP SIGNATURE-


[vchkpw] Error compiling vpopmail-5.4.13 on Tru64 Unix

2005-11-10 Thread Juan Enciso
Hi List.
I'm installing the new stable vpopmail, but it show me this error:

[1200]#make
make  all-recursive
make[1]: Entering directory `/usr/local/src/qmail/vpopmail-5.4.13'
Making all in cdb
make[2]: Entering directory `/usr/local/src/qmail/vpopmail-5.4.13/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/qmail/vpopmail-5.4.13/cdb'
make[2]: Entering directory `/usr/local/src/qmail/vpopmail-5.4.13'
gcc -I. -I/usr/local/mysql/include/mysql  -I. -I. -I.-fPIC -g -O2
-Wall -c -o libvpopmail_a-vpopmail.o `test -f 'vpopmail.c' || echo
'./'`vpopmail.c
vpopmail.c:35:17: err.h: No such file or directory
vpopmail.c: In function `vadddomain':
vpopmail.c:155: warning: implicit declaration of function `snprintf'
vpopmail.c: In function `lowerit':
vpopmail.c:1465: warning: subscript has type `char'
vpopmail.c: In function `r_mkdir':
vpopmail.c:1822: warning: implicit declaration of function `warn'
make[2]: *** [libvpopmail_a-vpopmail.o] Error 1
make[2]: Leaving directory `/usr/local/src/qmail/vpopmail-5.4.13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/qmail/vpopmail-5.4.13'
make: *** [all] Error 2

I think that it is because it not found err.h file. What packages
should I install?


[vchkpw] Error Compiling on HP-UX

2005-03-10 Thread Juan Enciso Condeña
Hi list.
I'm having problems when compile vpopmail-5.4.9 on HP-UX
My configure options are:

  $ ./configure --enable-roaming-users --enable-relay-clear-minutes=40 
--enable-learn-passwords --enable-ip-alias-domains --enable-incdir=/usr/lo
cal/mysql/include/mysql --enable-libdir=/usr/local/mysql/lib/mysql 
--enable-auth-module=mysql --enable-valias --disable-many-domains 
--disable-sql-logging --enable-mysql-limits --enable-mysql-replication

The error message is:

# gmake 
gmake  all-recursive
gmake[1]: Entering directory `/data1/src/qmail/vpopmail-5.4.9'
Making all in cdb
gmake[2]: Entering directory `/data1/src/qmail/vpopmail-5.4.9/cdb'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/data1/src/qmail/vpopmail-5.4.9/cdb'
gmake[2]: Entering directory `/data1/src/qmail/vpopmail-5.4.9'
gcc  -g -O2 -Wall   -o vdelivermail  vdelivermail.o maildirquota.o 
libvpopmail.a -L/usr/local/mysql/lib/mysql  -lmysqlclient -lz -lm -lcrypt 
/usr/ccs/bin/ld: Duplicate symbol valias_select_all_next in files 
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
/usr/ccs/bin/ld: Duplicate symbol valias_select_next in files 
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
/usr/ccs/bin/ld: Duplicate symbol valias_remove in files 
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
/usr/ccs/bin/ld: Duplicate symbol valias_insert in files 
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
/usr/ccs/bin/ld: Duplicate symbol valias_select in files 
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
/usr/ccs/bin/ld: Duplicate symbol valias_delete in files 
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
/usr/ccs/bin/ld: Duplicate symbol valias_select_all in files 
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
/usr/ccs/bin/ld: Found 7 duplicate symbol(s)
collect2: ld returned 1 exit status
gmake[2]: *** [vdelivermail] Error 1
gmake[2]: Leaving directory `/data1/src/qmail/vpopmail-5.4.9'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data1/src/qmail/vpopmail-5.4.9'
gmake: *** [all] Error 2


It show me when I tried compile using --enable-valias.
When I compiled using --disable-valias it work.

Why exist duplicate symbols? 

Thanks  for your response.


Re: [vchkpw] Error Compiling on HP-UX

2005-03-10 Thread Tom Collins
On Mar 10, 2005, at 3:32 PM, Juan Enciso Condeña wrote:
gcc  -g -O2 -Wall   -o vdelivermail  vdelivermail.o maildirquota.o
libvpopmail.a -L/usr/local/mysql/lib/mysql  -lmysqlclient -lz -lm 
-lcrypt
/usr/ccs/bin/ld: Duplicate symbol valias_select_all_next in files
libvpopmail.a(vauth.o) and libvpopmail.a(vpalias.o)
What does your config.h file look like?  The setting of VALIAS in 
particular.

If it's set to 1 (which it should if you --enable-valias) then the 
contents of vpalias.c shouldn't get compiled (it's wrapped in #ifndef 
VALIAS).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com



Re: [vchkpw] Error compiling qmail - chkuser - vpopmail

2005-02-24 Thread D E
Jeremy,

Thank you!!!  That worked!

For the last 10 hours I racked my brain trying every possible combination of 
different versions of vpopmail / chkuser and qmail - netqmail.  Each time 
different errors.  We have been getting dictionary attacks and really need 
this.  Our server was listed in spamcop yesterday for a bounced dictionary spam.

Now I can rest!

- Dave


- Original Message -

 
 on 2/24/2005 1:22 AM D E said the following:
  I am trying to compile qmail 1.03 - chkuser 2.08b - vpopmail 
  5.3.24 (no mysql) on FreeBSD and am getting the following error.
 [...]
  /usr/local/server-setup/mail-setup/vpopmail-5.3.24/vauth.c(.text+0x1d34): 
  undefined reference to `crypt'
 
 
 try 'echo gcc -lcrypt -s'  conf-ld ; make
 
 
 --
 
 Jeremy Kister
 http://jeremy.kister.net/

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



Re: [vchkpw] Error compiling qmail - chkuser - vpopmail

2005-02-24 Thread D E
I actually edited the file with vi and picked up on that.  

Thanks again!

Got to get up for work in 4 hours :-)  


- Original Message -

 
 on 2/24/2005 1:51 AM Jeremy Kister said the following:
  on 2/24/2005 1:22 AM D E said the following:
  I am trying to compile qmail 1.03 - chkuser 2.08b - vpopmail 
  5.3.24 (no mysql) on FreeBSD and am getting the following error.
  [...]
  /usr/local/server-setup/mail-setup/vpopmail-5.3.24/vauth.c(.text+0x1d34): 
  undefined reference to `crypt'
 
 
  try 'echo gcc -lcrypt -s'  conf-ld ; make
 
 2am tiredness
 doh! that's 'echo gcc -lcrypt -s  conf-ld ; make'
 (without the exterior quoting, of course)
 /2am tiredness
 
 --
 
 Jeremy Kister
 http://jeremy.kister.net/

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



Re: [vchkpw] Error compiling qmail - chkuser - vpopmail

2005-02-24 Thread Tom Collins
On Feb 23, 2005, at 10:22 PM, D E wrote:
I am trying to compile qmail 1.03 - chkuser 2.08b - vpopmail 5.3.24 
(no mysql) on FreeBSD and am getting the following error.
Unrelated to your problem, but please try to upgrade to the latest 
stable 5.4 release.  We fixed a lot of bugs in vpopmail during the 5.3 
development cycle.  Just take a look at the ChangeLog entries between 
5.3.24 and now to see what I mean...

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com



[vchkpw] Error compiling qmail - chkuser - vpopmail

2005-02-23 Thread D E
Hi,

I am trying to compile qmail 1.03 - chkuser 2.08b - vpopmail 5.3.24 (no mysql) 
on FreeBSD and am getting the following error. 

Any help would be greatly appreciated.  Thanks!

/usr/local/vpmail/lib/libvpopmail.a(vpopmail.o): In function `mkpasswd3':
/usr/local/server-setup/mail-setup/vpopmail-5.3.24/vpopmail.c(.text+0x977): 
undefined reference to `crypt'
/usr/local/vpmail/lib/libvpopmail.a(vauth.o): In function `vauth_crypt':
/usr/local/server-setup/mail-setup/vpopmail-5.3.24/vauth.c(.text+0x1d34): 
undefined reference to `crypt'
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



Re: [vchkpw] Error compiling qmail - chkuser - vpopmail

2005-02-23 Thread Jeremy Kister
on 2/24/2005 1:22 AM D E said the following:
 I am trying to compile qmail 1.03 - chkuser 2.08b - vpopmail 5.3.24 (no 
 mysql) on FreeBSD and am getting the following error. 
[...]
 /usr/local/server-setup/mail-setup/vpopmail-5.3.24/vauth.c(.text+0x1d34): 
 undefined reference to `crypt'


try 'echo gcc -lcrypt -s'  conf-ld ; make


-- 

Jeremy Kister
http://jeremy.kister.net/


Re: [vchkpw] Error compiling qmail - chkuser - vpopmail

2005-02-23 Thread Jeremy Kister
on 2/24/2005 1:51 AM Jeremy Kister said the following:
 on 2/24/2005 1:22 AM D E said the following:
 I am trying to compile qmail 1.03 - chkuser 2.08b - vpopmail 5.3.24 (no 
 mysql) on FreeBSD and am getting the following error. 
 [...]
 /usr/local/server-setup/mail-setup/vpopmail-5.3.24/vauth.c(.text+0x1d34): 
 undefined reference to `crypt'
 
 
 try 'echo gcc -lcrypt -s'  conf-ld ; make

2am tiredness
doh! that's 'echo gcc -lcrypt -s  conf-ld ; make'
(without the exterior quoting, of course)
/2am tiredness

-- 

Jeremy Kister
http://jeremy.kister.net/


[vchkpw] Error compiling

2002-10-29 Thread Carl A Jeptha



Hi,
The first error was that make could not find 
"mysql.h" ( I copied "vmysql.h")
After that I receive the following error when 
running "make" :
vauth.c:35: parse error before 
'mysql_update'

Any Assistance would be appreciated.

You have a good day now,

Carl