Quote:
Originally Posted by pavanchauhan
I have successfully compile exim-4.83 from source.and it's working fine.
But when i try to install sa-exim-4.2 and Edit Makefile and change EXIM_SRC to
EXIM_SRC= ../exim-4.83/src
in the Makefile. Thenafter I run the `make` command. i'm getting this error.
sa-exim.c:1443: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘time_t’
sa-exim.c:1451: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘time_t’
sa-exim.c:1451: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘time_t’
sa-exim.c:1478: warning: pointer targets in assignment differ in signedness
sa-exim.c:1507: warning: pointer targets in assignment differ in signedness
/usr/bin/ld: /tmp/ccoZB8ZG.o: relocation R_X86_64_32 against `.rodata.str1.1' ca n not be used when making a shared object; recompile with -fPIC
/tmp/ccoZB8ZG.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [sa-exim-4.2.so] Error 1
Kindly give the great solution which i'm expecting from linux question org. I will highly appreciate to you
|
As we've asked you several times in the past, you need to provide details when asking a question. Please read the LQ Rules, the Question Guidelines, and "How to ask a smart question", in my posting signature.
You don't tell us what version/distro of Linux you're using, where you got the source code, why you're editing that variable in the Makefile, or why you're not installing these things from the online repositories, versus source. From reading the INSTALL file that comes with that source code, you shouldn't have to edit ANYTHING. And have you tried specifying the full-path, versus the ".."????