[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zmailer complile problems on Linux 1.2.8



> Hello,
> 
> I have had zmailer 2.2 running on a sun ipc now for a few years and 
> am now trying to get the newest version going on a linux micro.
> It's a fresh installation of the linux operating system that I just 
> got from MIT and the version of zmailer is 2.99.15.
> 
> After typing "make it all", all goes well until this point.  Any help 
> appreciated.  If anyone needs to see the entire log file then please 
> let me know and I'll send it along.

	I have now been able to re-create the problem outlined
	below, and yes, it does happen with gcc-2.5.8 and (especially)
	ld-2.5.2.l5.  I think it is linker problem, as newer linker
	in ELFed environment does work just fine.

	Still I remotely recall that also some OLDER linker worked
	just fine -- just that the one on Slackware-2.2 is buggy..

	/Matti Aarnio <mea@nic.funet.fi>

> -------- the last few pages of the "make it all" log file -------------
> gcc -posix -g -O  -I../include -I../libsh  -o router router.o 
> dateparse.o conf.o functions.o db.o shliaise.o rfc822.o rfc822hdrs.o 
> rfc822walk.o version.o -L../libs -ldb -lsh -lz -lzc -lmalloc_d -lgdbm
> /users/misc/linux/src/libc-linux/posix/getopt.c(.data+0x4): multiple 
> definition of `optind'
> /apps/zmailer-2.99.15/libc/getopt.c(.data+0x0): first defined here
> /users/misc/linux/src/libc-linux/posix/getopt.c(.data+0x8): multiple 
> definition of `opterr'
> /apps/zmailer-2.99.15/libc/getopt.c(.data+0x4): first defined here
> /usr/lib/libg.sa(getopt.o): In function `getopt':
> /users/misc/linux/src/libc-linux/posix/getopt.c:733: multiple 
> definition of `getopt'
..........
> Murray Latter                            Phone: (902) 457-6460
> Coordinator Network Services             Email: Murray.Latter@MSVU.Ca
> Mount Saint Vincent University           Fax:   (902) 445-3960
> Halifax, Nova Scotia, Canada
> B3M 2J6
>                            --------+++--------
> 
>