Compile error on SuSE PPC 7.3 Linux

Ben ben@insinuation.org
Wed Nov 20 03:15:20 UTC 2002


Hi,

I am fairly new to dcc and I have been trying to compile it on SuSE PowerPC
Linux 7.3. I have not had a problem compiling dccproc but when it comes to
dccm and dccd compilation fails.  This is fine if I just use dcc with
procmail but I would really like to run dccd and the sendmail interface.  I
was wondering if there is anyone else out there that has been able to get
this compiled on PPC Linux and if so do you have any suggestions.

Also are there some good how to docs for configuring dcc besides the dcc
website and man pages?


Here is the error I am getting when compiling dccm and dccd. Both are
failing on the same thing.

......
cc -pthread   dccm.o clnt_threaded.o
/usr/src/packages/SOURCES/sendmail-8.11.6/obj.Linux.2.4.12.ppc/libmilter/lib
milter.a 
/usr/src/packages/SOURCES/sendmail-8.11.6/obj.Linux.2.4.12.ppc/libsmutil/lib
smutil.a ../dcclib/libdcc.a  -lm -o dccm
dccm.o: In function `main':
dccm.o(.text+0x9a4): undefined reference to `smfi_setconn'
dccm.o(.text+0x9a4): relocation truncated to fit: R_PPC_REL24 smfi_setconn
dccm.o(.text+0xa08): undefined reference to `smfi_register'
dccm.o(.text+0xa08): relocation truncated to fit: R_PPC_REL24 smfi_register
dccm.o(.text+0xdb4): undefined reference to `smfi_main'
dccm.o(.text+0xdb4): relocation truncated to fit: R_PPC_REL24 smfi_main
dccm.o: In function `get_wp_raw':
dccm.o(.text+0x1cc0): undefined reference to `smfi_getpriv'
dccm.o(.text+0x1cc0): relocation truncated to fit: R_PPC_REL24 smfi_getpriv
dccm.o(.text+0x1d38): undefined reference to `smfi_setpriv'
dccm.o(.text+0x1d38): relocation truncated to fit: R_PPC_REL24 smfi_setpriv
dccm.o: In function `set_temp_reply':
dccm.o(.text+0x1ec0): undefined reference to `smfi_setreply'
dccm.o(.text+0x1ec0): relocation truncated to fit: R_PPC_REL24 smfi_setreply
dccm.o: In function `dccm_conn':
dccm.o(.text+0x1f7c): undefined reference to `smfi_getpriv'
dccm.o(.text+0x1f7c): relocation truncated to fit: R_PPC_REL24 smfi_getpriv
dccm.o(.text+0x1fb8): undefined reference to `smfi_setpriv'
dccm.o(.text+0x1fb8): relocation truncated to fit: R_PPC_REL24 smfi_setpriv
dccm.o: In function `dccm_envfrom':
dccm.o(.text+0x2594): undefined reference to `smfi_getsymval'
dccm.o(.text+0x2594): relocation truncated to fit: R_PPC_REL24
smfi_getsymval
dccm.o: In function `dccm_envrcpt':
dccm.o(.text+0x28c0): undefined reference to `smfi_getsymval'
dccm.o(.text+0x28c0): relocation truncated to fit: R_PPC_REL24
smfi_getsymval
dccm.o(.text+0x2928): undefined reference to `smfi_getsymval'
dccm.o(.text+0x2928): relocation truncated to fit: R_PPC_REL24
smfi_getsymval
dccm.o(.text+0x2a94): undefined reference to `smfi_getsymval'
dccm.o(.text+0x2a94): relocation truncated to fit: R_PPC_REL24
smfi_getsymval
dccm.o: In function `delete_xhdr':
dccm.o(.text+0x3270): undefined reference to `smfi_chgheader'
dccm.o(.text+0x3270): relocation truncated to fit: R_PPC_REL24
smfi_chgheader
dccm.o: In function `ask_white':
dccm.o(.text+0x3c84): undefined reference to `smfi_getsymval'
dccm.o(.text+0x3c84): relocation truncated to fit: R_PPC_REL24
smfi_getsymval
dccm.o(.text+0x3d1c): undefined reference to `smfi_getsymval'
dccm.o(.text+0x3d1c): relocation truncated to fit: R_PPC_REL24
smfi_getsymval
dccm.o: In function `ask_dcc':
dccm.o(.text+0x42ec): undefined reference to `smfi_chgheader'
dccm.o(.text+0x42ec): relocation truncated to fit: R_PPC_REL24
smfi_chgheader
dccm.o(.text+0x4348): undefined reference to `smfi_addheader'
dccm.o(.text+0x4348): relocation truncated to fit: R_PPC_REL24
smfi_addheader
dccm.o: In function `user_finish':
dccm.o(.text+0x4d84): undefined reference to `smfi_delrcpt'
dccm.o(.text+0x4d84): relocation truncated to fit: R_PPC_REL24 smfi_delrcpt
dccm.o: In function `dccm_eom':
dccm.o(.text+0x541c): undefined reference to `smfi_setreply'
dccm.o(.text+0x541c): relocation truncated to fit: R_PPC_REL24 smfi_setreply
dccm.o: In function `dccm_close':
dccm.o(.text+0x5678): undefined reference to `smfi_setpriv'
dccm.o(.text+0x5678): relocation truncated to fit: R_PPC_REL24 smfi_setpriv
collect2: ld returned 1 exit status
make[1]: *** [dccm] Error 1
make: *** [all] Error 2

Oh yeah, here is my configure command also:

# ./configure --with-sendmail=/usr/src/packages/SOURCES/sendmail-8.11.6
creating cache ./config.cache
Rhyolite Software DCC 1.1.16-1.58 dccd
checking for cc... yes
checking how to run the C preprocessor... cc -E
checking for gcc __attribute__... yes
checking for gmake... yes
checking for perl... /usr/bin/perl
checking for sa_len... no
checking for AF_LOCAL... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking need for string.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for strings.h... yes
checking for paths.h... yes
checking for sys/cdefs.h... yes
checking for pthread.h... yes
checking for arpa/nameser.h... yes
checking for resolv.h... yes
checking for daemon... yes
checking for vsyslog... yes
checking for hstrerror... yes
checking for inet_ntop... yes
checking for gethostid... yes
checking for getifaddrs... no
checking getifaddrs replacement... yes
checking for md5.h... no
checking for getrlimit... yes
checking for RLIMIT_NOFILE... yes
checking for __progname... yes
checking sizeof(off_t)... 4
checking run directory... /var/run
checking for getipnodebyname... no
checking for IPv6... no getipnodebyname()
look for sendmail milter library in
/usr/src/packages/SOURCES/sendmail-8.11.6/obj.Linux.2.4.12.ppc
checking for pthread_mutex_lock... yes
updating cache ./config.cache
creating ./config.status
....................................creating include/dcc_config.h
include/dcc_config.h is unchanged



Thanks ahead of time!
Benjamin 




More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.