View previous topic :: View next topic |
Author |
Message |
Cataclysm n00b
Joined: 11 Sep 2003 Posts: 31
|
Posted: Thu Sep 11, 2003 3:31 pm Post subject: Cyrus-IMAPd Compile Error |
|
|
Hi!
Ich versuche den cyrus-imapd zu emerge'n, aber beim kompilieren kommt folgender Error:
Code: | gcc -c -I. -I.. -I. -I./../lib -I./../sieve -I./../acap -I../acap -I./../et -I./../sieve -DHAVE_CONFIG_H -Wall -march=pentium-mmx -O3 -pipe -fomit-frame-pointer \
idle_poll.c
rm -f libimap.a
ar cr libimap.a append.o mailbox.o mboxlist.o mupdate-client.o mboxname.o message.o config.o imap_err.o mupdate_err.o proc.o setproctitle.o convert_code.o duplicate.o saslclient.o saslserver.o acapmbox.o signals.o annotate.o search_engines.o squat.o squat_internal.o mbdump.o imapparse.o telemetry.o user.o notify.o seen_db.o idle_poll.o
ranlib libimap.a
gcc -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wall -march=pentium-mmx -O3 -pipe -fomit-frame-pointer -o imapd \
../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o libimap.a ../acap/libacap.a ../lib/libcyrus.a -lsasl2 -lfl -lresolv -ldb-4.0 -lssl -lcrypto ../et/libcom_err.a -lwrap -lnsl
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x30): In function `abort_txn':
: undefined reference to `txn_abort'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0xb2): In function `commit_txn':
: undefined reference to `txn_commit'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0xed5): In function `commit_nosync':
: undefined reference to `txn_commit'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0xfed): In function `gettid':
: undefined reference to `txn_begin'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1351): In function `mystore':
: undefined reference to `txn_abort'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x1379): In function `mystore':
: undefined reference to `txn_begin'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x140b): In function `mystore':
: undefined reference to `txn_commit'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x15b6): In function `mydelete':
: undefined reference to `txn_abort'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x15e1): In function `mydelete':
: undefined reference to `txn_begin'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x167f): In function `mydelete':
: undefined reference to `txn_commit'
collect2: ld returned 1 exit status
make[1]: *** [imapd] Error 1
make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.14/work/cyrus-imapd-2.1.14/imap'
make: *** [all] Error 1
!!! ERROR: net-mail/cyrus-imapd-2.1.14 failed.
!!! Function src_compile, Line 98, Exitcode 2
!!! compile problem |
In den USE-Flags ist nur noch "sasl" was für cyrus-imapd wichtig wäre. Jemand eine Idee was ich falsch mache ? Mehr Infos gewünscht ?
Grüsse, Dennis
Nachtrag:
ACCEPT_KEYWORDS="~x86"
CFLAGS="-march=pentium-mmx -O3 -pipe -fomit-frame-pointer" |
|
Back to top |
|
|
ian! Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Fri Sep 12, 2003 6:23 am Post subject: |
|
|
Ich gehe davon aus, Du versuchst die Version 2.1.14 von cyrus-imapd zu installieren?
Im ebuild wird darauf hingewiesen das das "-f..."-CFLAGS Probleme bei compile bereiten können:
Code: |
# make depends break with -f... in CFLAGS
make depend CFLAGS="" || die "make depend problem"
make || die "compile problem"
|
Eigentlich sollte dieses Codeschnipsel, welches ich aus dem ebuild entnommen habe, dieses Problem umgehen. Scheinbar tut es das aber nicht.
Sind die CXXFLAGS Schuld? --- Ich kann es nur vermuten.
Am besten ist es meiner Meinung nach, die CFLAGS zum Test einmal so einzustellen, daß Du auf "-f..."-Flags verzichtest und es erneut versuchst zu bauen. Ansonsten Radikalkur: CFLAGS/CXXFLAGS auskommentieren und bauen.
Ich hoffe das hilft dir weiter.
Gruß,
ian! _________________ "To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|