[exim-dev] [Bug 772] New: Error during build with libdomaink…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Adrian
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 772] New: Error during build with libdomainkeys support
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=772
           Summary: Error during build with libdomainkeys support
           Product: Exim
           Version: 4.69
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Experimental
        AssignedTo: nigel@???
        ReportedBy: exim@???
                CC: exim-dev@???



Hi,

When compiling with libdomainkeys supported, I am getting the following error
during build.


awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
dk.o: In function `dk_receive_getc':
dk.c:(.text+0x9e): undefined reference to `dk_message'
dk.c:(.text+0xb8): undefined reference to `DK_STAT_to_string'
dk.o: In function `dk_exim_sign':
dk.c:(.text+0x1a6): undefined reference to `dk_init'
dk.c:(.text+0x1be): undefined reference to `DK_STAT_to_string'
dk.c:(.text+0x227): undefined reference to `dk_sign'
dk.c:(.text+0x250): undefined reference to `DK_STAT_to_string'
dk.c:(.text+0x2bd): undefined reference to `dk_message'
dk.c:(.text+0x2f2): undefined reference to `dk_message'
dk.c:(.text+0x32e): undefined reference to `dk_message'
dk.c:(.text+0x36c): undefined reference to `dk_message'
dk.c:(.text+0x3da): undefined reference to `dk_end'
dk.c:(.text+0x3f6): undefined reference to `dk_address'
dk.c:(.text+0x64b): undefined reference to `dk_getsig'
dk.c:(.text+0x65c): undefined reference to `DK_STAT_to_string'
dk.c:(.text+0x695): undefined reference to `dk_headers'
dk.c:(.text+0x6e6): undefined reference to `dk_headers'
dk.c:(.text+0x79a): undefined reference to `dk_free'
dk.o: In function `dk_exim_verify_finish':
dk.c:(.text+0x816): undefined reference to `dk_message'
dk.c:(.text+0x83b): undefined reference to `dk_end'
dk.c:(.text+0x866): undefined reference to `dk_address'
dk.c:(.text+0x917): undefined reference to `dk_policy'
dk.c:(.text+0xa1b): undefined reference to `DK_STAT_to_string'
dk.c:(.text+0xa3b): undefined reference to `dk_free'
dk.o: In function `dk_exim_verify_init':
dk.c:(.text+0xac2): undefined reference to `dk_init'
dk.c:(.text+0xad9): undefined reference to `DK_STAT_to_string'
dk.c:(.text+0xafe): undefined reference to `dk_verify'
dk.c:(.text+0xb14): undefined reference to `DK_STAT_to_string'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/var/source/exim/exim-4.69/build-Linux-i386'
make: *** [go] Error 2


I don't think it is a problem with the exim source, but rather it is a problem
with gcc as I have no problem compiling with the older version of gcc (3.4.6)
on CentOS 4.4.

System running during build:
CentOS 5.2 x86
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
GNU ld version 2.17.50.0.6-6.el5 20061020


I have tried on two different systems running CentOS 5.2 and with the same
version of gcc and it produces the same error.

Any help would be appreciated.


Thanks,
Adrian


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email