Subject: courier-imap build failure
To: NetBSD tech-pkg <tech-pkg@netbsd.org>
From: Marton Fabo <morton@eik.bme.hu>
List: tech-pkg
Date: 10/24/2005 13:47:09
Hello,
can someone shed some light on why is building of courier-imap from the
pkgsrc-2005Q3 branch failing on a stock NetBSD-2.0 i386 system? See the
relevant build log below. I tried to switch to HEAD, to no avail.
Based on my research on Google, it may be related to some gcc version
incompatibility. Thus I tried building courier-imap after having
installed gcc34 and set it as the default compiler, but then the build
failed in a different way.
Any ideas?
thx
mortee
Build log:
/usr/pkg/bin/gmake all-am
gmake[3]: Entering directory
`/usr/pkgsrc-work/mail/courier-imap/work/courier-imap-4.0.4/maildir'
[...]
Compiling maildirkw.c
Linking maildirkw
/usr/lib/libstdc++.so: undefined reference to `log'
/usr/lib/libstdc++.so: undefined reference to `sqrt'
/usr/lib/libstdc++.so: undefined reference to `cosh'
/usr/lib/libstdc++.so: undefined reference to `finitef'
/usr/lib/libstdc++.so: undefined reference to `cos'
/usr/lib/libstdc++.so: undefined reference to `tanh'
/usr/lib/libstdc++.so: undefined reference to `sin'
/usr/lib/libstdc++.so: undefined reference to `atan2'
/usr/lib/libstdc++.so: undefined reference to `pow'
/usr/lib/libstdc++.so: undefined reference to `sinh'
/usr/lib/libstdc++.so: undefined reference to `log10'
/usr/lib/libstdc++.so: undefined reference to `exp'
/usr/lib/libstdc++.so: undefined reference to `tan'
gmake[3]: *** [maildirkw] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc-work/mail/courier-imap/work/courier-imap-4.0.4/maildir'
--
The two basic principles of Windows system administration:
* For minor problems, reboot
* For major problems, reinstall