A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=891 ====================================================================== Reported By: clandmeter Assigned To: ====================================================================== Project: DBMail Issue ID: 891 Category: General Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 13-Apr-11 17:32 CEST Last Modified: 20-Jul-11 17:07 CEST ====================================================================== Summary: dbmail fails to build on alpine linux Description: Im trying to build dbmail 3rc2 on alpine linux x86_64 with uclibc. The following is the error i receive:
libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_tls.lo -MD -MP -MF ..deps/libdbmail_la-dm_tls.Tpo -c dm_tls.c -fPIC -DPIC -o ..libs/libdbmail_la-dm_tls.o if /bin/bash ../libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_http.lo -MD -MP -MF ".deps/libdbmail_la-dm_http.Tpo" -c -o libdbmail_la-dm_http.lo `test -f 'dm_http.c' || echo './'`dm_http.c; \ then mv -f ".deps/libdbmail_la-dm_http.Tpo" ".deps/libdbmail_la-dm_http.Plo"; else rm -f ".deps/libdbmail_la-dm_http.Tpo"; exit 1; fi libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_http.lo -MD -MP -MF ..deps/libdbmail_la-dm_http.Tpo -c dm_http.c -fPIC -DPIC -o ..libs/libdbmail_la-dm_http.o dm_http.c: In function 'Http_getUsers': dm_http.c:196:9: error: dereferencing pointer to incomplete type dm_http.c: In function 'Http_getMailboxes': dm_http.c:282:9: error: dereferencing pointer to incomplete type dm_http.c: In function 'Http_getMessages': dm_http.c:378:9: error: dereferencing pointer to incomplete type make[3]: *** [libdbmail_la-dm_http.lo] Error 1 make[3]: Leaving directory `/home/clandmeter/alpine-aports/testing/dbmail/src/dbmail_3.0.0-rc2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/clandmeter/alpine-aports/testing/dbmail/src/dbmail_3.0.0-rc2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/clandmeter/alpine-aports/testing/dbmail/src/dbmail_3.0.0-rc2' make: *** [all] Error 2 ====================================================================== ---------------------------------------------------------------------- (0003213) vivo (reporter) - 19-Jul-11 21:53 http://www.dbmail.org/mantis/view.php?id=891#c3213 ---------------------------------------------------------------------- me too gcc --version gcc (Gentoo 4.6.0 p1.2, pie-0.4.5) 4.6.0 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------------------------------------------------------------------- (0003214) paul (administrator) - 20-Jul-11 17:07 http://www.dbmail.org/mantis/view.php?id=891#c3214 ---------------------------------------------------------------------- @vivo Me too reports are less than useful, unless of course they contain additional information. In this case, I'm doubtful. Are you also compiling under uclibc on alpine linux? Your gcc version suggests you are on Gentoo - which may or may not be alpine. I'm guessing not, so please explain. Also, are you running into the same error? Or are you just unable to build from source? Please include the compile error if you are not on uclibc/alpine. Since this error is triggered by the libevent api, the exact libevent version may also be helpful. Issue History Date Modified Username Field Change ====================================================================== 13-Apr-11 17:32 clandmeter New Issue 19-Jul-11 21:53 vivo Note Added: 0003213 20-Jul-11 17:07 paul Note Added: 0003214 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev