[Freeipa-devel] Re: Need Advice on "DEB" packaging.
Stephen Gallagher
sgallagh at redhat.com
Fri May 1 14:46:29 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Miguel P.C. wrote:
> Hi everyone again,
>
> I solved the first problem about not finding tevent libs with this:
> export TEVENT_LIBS=$(DESTDIR)/usr/include/samba-4.0/
> export TEVENT_CFLAGS="-I $(DESTDIR)/usr/include/samba-4.0/"
>
> But I till have no clue on how to compile "server" as I still have the
> same problem.
>> Second:
>> With tevent libs "linked" the way I said before, I try to build
>> everything but, when building server, I find this:
>> [snip]
>> In file included from providers/data_provider.h:30,
>> from providers/dp_auth_util.c:22:
>> /usr/include/samba-4.0/ldb.h:789: error: expected '=', ',', ';', 'asm'
>> or '__attribute__' before 'ldb_request_is_done'
>> /usr/include/samba-4.0/ldb.h:849: error: expected declaration
>> specifiers or '...' before '*' token
>> /usr/include/samba-4.0/ldb.h:849: error: 'bool' declared as function
>> returning a function
>> [snip]
>
Miguel, it looks like you have something wrong in your compiler chain.
"bool" is a reserved word for a basic type. What version of GCC are you
using?
We've built with GCC 4.3.2 and 4.4.0 successfully.
- --
Stephen Gallagher
RHCE 804006346421761
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkn7C0EACgkQeiVVYja6o6NEJgCgoDMeJOEplXgRbVixO+1ABY2R
ZucAniY7+cXvBpNDSZ07XzNZ//mpNCaW
=Sc/C
-----END PGP SIGNATURE-----
More information about the Freeipa-devel
mailing list