-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm running a Sarge machine.

I have applied the following patches from qmailrocks.org to the source
package 
of qmail provided by Pape Smarden at smarden.org.
qmail-1.03-forcetls-20040703.patch
qmail-1.03-jms1.5.patch

Following is the error message when I try to compile:

/usr/bin/gcc -nostdlib -static 
- -L/usr/lib/diet/lib-i386 /usr/lib/diet/lib-i386/start.o -s -o qmail-remote 
qmail-remote.o control.o constmap.o timeoutread.o timeoutwrite.o 
timeoutconn.o tcpto.o now.o dns.o ip.o ipalloc.o strsalloc.o ipme.o quote.o 
ndelay.a case.a sig.a open.a lock.a seek.a getln.a stralloc.a alloc.a 
substdio.a error.a str.a fs.a auto_qmail.o -lresolv -lssl -lcrypto 
- -isystem /usr/lib/diet/include -D__dietlibc__ -Os 
- -mpreferred-stack-boundary=2 -falign-functions=1 -falign-jumps=1 
- -falign-loops=1 -fomit-frame-pointer /usr/lib/diet/lib-i386/libc.a -lgcc
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(bss_file.o)
(.text+0x8e): In function `file_ctrl':
: warning: warning: your code uses stdio (7+k bloat).
/usr/lib/diet/lib-i386/libc.a(vfprintf.o)(.text+0x36): In function
`vfprintf':
: warning: warning: the printf functions add several kilobytes of bloat.
/usr/lib/diet/lib-i386/libc.a(vsscanf.o)(.text+0x5b): In function `vsscanf':
: warning: warning: the scanf functions add several kilobytes of bloat.
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(obj_dat.o)
(.text+0x958): In function `OBJ_create_objects':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(obj_dat.o)
(.text+0x9bd): In function `OBJ_create_objects':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(obj_dat.o)
(.text+0x9f2): In function `OBJ_create_objects':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(b_print.o)
(.text+0xec1): In function `_dopr':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(b_print.o)
(.text+0xf23): In function `_dopr':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0x8f7): In function `nocase_cmp':
: undefined reference to `__ctype_tolower_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0x945): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0x965): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0x985): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0x9a5): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0x9d1): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_tolower_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0x9f9): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0xa25): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(x509_cmp.o)
(.text+0xa49): In function `nocase_spacenorm_cmp':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(by_dir.o
(.text+0x14a): 
In function `get_cert_by_subject':
: undefined reference to `__xstat'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(a_strnid.o)
(.text+0x5b): In function `ASN1_STRING_set_default_mask_asc':
: undefined reference to `__strtoul_internal'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(v3_conf.o)
(.text+0xa6f): In function `v3_check_critical':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(v3_conf.o)
(.text+0xaef): In function `v3_check_generic':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(v3_utl.o
(.text+0x8a1): 
In function `strip_spaces':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(v3_utl.o
(.text+0x8d5): 
In function `strip_spaces':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(v3_utl.o
(.text+0x98f): 
In function `string_to_hex':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(v3_utl.o
(.text+0x9a0): 
In function `string_to_hex':
: undefined reference to `__ctype_tolower_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(v3_utl.o
(.text+0x9bb): 
In function `string_to_hex':
: undefined reference to `__ctype_tolower_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(bn_print.o)
(.text+0x371): In function `BN_hex2bn':
: undefined reference to `__ctype_b_loc'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcrypto.a(bn_print.o)
(.text+0x579): In function `BN_dec2bn':
: undefined reference to `__ctype_b_loc'
collect2: ld returned 1 exit status
make[1]: *** [qmail-remote] Error 1
make[1]: Leaving directory `/tmp/qmail-1.03'
make: *** [build-stamp] Error 2
Build command 'cd qmail-1.03 && dpkg-buildpackage -b -uc' failed.
E: Child process failed


Please help me to what I should do.

TIA,

rrs
- -- 
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is
research."
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCwEtp4Rhi6gTxMLwRAkqZAJ9tqFbOYKew9XiCgHZMhcJjwQFTCQCfeBkh
2zYrJXGg3tbkcMMrSzgdYpc=
=gF/G
-----END PGP SIGNATURE-----



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to