------ Original Message ------
From: "Heiko Schlittermann via Exim-users" <exim-users@???>
To: "exim-users@???" <exim-users@???>
Sent: 5/14/2021 1:41:34 AM
Subject: Re: [exim] 4.94.2+taintwarn branch failing to compile
>Paul Griffith via Exim-users <exim-users@???> (Do 13 Mai 2021 18:33:54 CEST):
>>
>>
>> ------ Original Message ------
>> >Paul
>>
>> I am able to go into the build directory and run "make exim" and the
>> exim binary is able to be compiled.
>
>You are not expected to chdir into the build directory. You are expected
>to be *above* the build directory.
>
Heiko,
Thank you for responding,
I was only in the build directory to troubleshoot why the build was
failing on my system. Normally I don't have any trouble with Exim.
>
> heiko@x1:…/src $ ls
> LICENSE Local Makefile build-… src …
>
>And, additionally try a "make distclean" before doing anything else.
>(This will let your Local/Makefile* inplace. So, no pain is expected.)
>
>> build-Linux-x86_64]# make exim_fixdb
>…
>
>Again, first, you're not expected to sit in the build* directory, and
>2nd, you're not expected to "make …" each tool individually.
>
This was just part of my troubleshooting step to pin point the trouble
point on my system.
>
>I can't reproduce your issue. but this:
>
>> /cs/local/bin/ld: exim_fixdb.o: in function `is_tainted2':
>> exim_dbutil.c:(.text+0x178): undefined reference to
>> `allow_insecure_tainted_data'
>> collect2: error: ld returned 1 exit status
>> make: *** [Makefile:655: exim_fixdb] Error 1
>
>reads as if somewhere an outdated *.a is hanging around. (or a broken
>compile cache?)
>
Thank you for the hints, I will look along that line.
I was able to get a complete compile without the "undefined reference"
error by adding macro-globals.o to the lines OBJ_DUMPDB, OBJ_FIXDB and
OBJ_TIDYDB in OS/Makefile-Base.
Since I am the only one who is having this problem, the issue appears to
be local to me.
Best regards,
Paul
>
> Best regards from Dresden/Germany
> Viele Grüße aus Dresden
> Heiko Schlittermann
>--
> SCHLITTERMANN.de ---------------------------- internet & unix support -
> Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
> gnupg encrypted messages are welcome --------------- key ID: F69376CE -