pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32114: mail/cyrus-imapd fails to build on Solaris 10 with SunPro compiler
>Number: 32114
>Category: pkg
>Synopsis: mail/cyrus-imapd fails to build on Solaris 10 with SunPro
>compiler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 19 11:41:00 +0000 2005
>Originator: segv
>Release:
>Organization:
>Environment:
SunOS ultra10 5.10 Generic sun4u sparc SUNW,Ultra-5_10
>Description:
Building cyrus-imapd with Sun Studio 11 compilers, produces the following error:
### Making all in /opt/pkg.obj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12/sieve
rm -f libsieve.a
ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o
message.o bc_generate.o bc_dump.o bc_emit.o bc_eval.o script.o tree.o addr.o
addr-lex.o md5.o
ranlib libsieve.a
cc -L/opt/pkg/lib -R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -lnsl -lsocket -L/opt/pkg/lib -o sievec sievec.o libsieve.a
../lib/libcyrus.a ../lib/libcyrus_min.a libsieve.a -L/opt/pkg/lib
-R/opt/pkg/lib -lsasl2 -lresolv -ldb4 -lssl -lcrypto -lrt ../et/libcom_err.a
Undefined first referenced
symbol in file
write_int libsieve.a(bc_emit.o)
ld: fatal: Symbol referencing errors. No output written to sievec
*** Error code 1
>How-To-Repeat:
>Fix:
--- sieve/bc_emit.c.orig Sat Nov 19 11:31:25 2005
+++ sieve/bc_emit.c Sat Nov 19 11:24:56 2005
@@ -45,7 +45,7 @@
void dump(bytecode_info_t *d);
#endif
-inline int write_int (int fd, int x)
+static inline int write_int (int fd, int x)
{
int y=htonl(x);
return (write(fd, &y, sizeof(int)));
Home |
Main Index |
Thread Index |
Old Index