cyrus-sasl2 build error

Gabriel Dos Reis gdr at integrable-solutions.net
Sat Feb 6 17:22:37 PST 2010


cyrus-sasl2 fails to build properly:


--->  Building cyrus-sasl2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23"
&& /usr/bin/make -j1 all " returned error 2
Command output: if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../include   -I/opt/local/include -I/opt/local/include
-Wall -W -O2 -arch i386 -MT pluginviewer.o -MD -MP -MF
".deps/pluginviewer.Tpo" \
	  -c -o pluginviewer.o `test -f 'pluginviewer.c' || echo './'`pluginviewer.c; \
	then mv -f ".deps/pluginviewer.Tpo" ".deps/pluginviewer.Po"; \
	else rm -f ".deps/pluginviewer.Tpo"; exit 1; \
	fi
pluginviewer.c: In function 'sasl_my_log':
pluginviewer.c:171: warning: unused parameter 'context'
pluginviewer.c: In function 'sasl_getopt':
pluginviewer.c:220: warning: unused parameter 'context'
pluginviewer.c:221: warning: unused parameter 'plugin_name'
pluginviewer.c: In function 'main':
pluginviewer.c:440: warning: passing argument 2 of 'getsubopt' from
incompatible pointer type
pluginviewer.c:465: warning: passing argument 2 of 'getsubopt' from
incompatible pointer type
pluginviewer.c:494: warning: passing argument 2 of 'getsubopt' from
incompatible pointer type
pluginviewer.c:676: warning: pointer targets in passing argument 8 of
'sasl_listmech' differ in signedness
pluginviewer.c:769: warning: pointer targets in passing argument 8 of
'sasl_listmech' differ in signedness
pluginviewer.c: At top level:
pluginviewer.c:138: warning: 'ip_subopts' defined but not used
pluginviewer.c:283: warning: 'osfail' defined but not used
/bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -Wall -W -O2 -arch
i386  -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o
pluginviewer  pluginviewer.o ../lib/libsasl2.la   -lresolv -lresolv
-lpam
/usr/bin/gcc-4.0 -Wall -W -O2 -arch i386 -L/opt/local/lib
-Wl,-rpath,/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer
pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lpam
-lresolv -lresolv -lpam
Undefined symbols:
  "_auxprop_plugin_info", referenced from:
      _main in pluginviewer.o
      _main in pluginviewer.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [pluginviewer] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


More information about the macports-users mailing list