Problemi di compilazione di x11/libSM
Ferruccio Zamuner <[email protected]>
| Newsgroups | gmane.os.freebsd.italian.aiuto |
|---|---|
| Organization | NonSoLoSoft |
| Message-ID | <[email protected]> |
Ciao,
===> Building for libSM-1.2.2,1
/usr/bin/make all-recursive
Making all in src
CC sm_genid.lo
sm_genid.c: In function 'SmsGenerateClientID':
sm_genid.c:112: error: storage size of 'uuid' isn't known
sm_genid.c:115: error: too many arguments to function 'uuid_create'
sm_genid.c:116: error: 'uuid_s_ok' undeclared (first use in this function)
sm_genid.c:116: error: (Each undeclared identifier is reported only once
sm_genid.c:116: error: for each function it appears in.)
sm_genid.c:119: warning: implicit declaration of function 'uuid_to_string'
sm_genid.c:119: warning: nested extern declaration of 'uuid_to_string'
sm_genid.c:112: warning: unused variable 'uuid'
*** Error code 1
Stop in /faster1/ports/x11/libSM/work/libSM-1.2.2/src.
*** Error code 1
Stop in /faster1/ports/x11/libSM.
Tuttavia il seguente test:
--- test.c ----
#include <uuid.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
uuid_t uuid;
int32_t status;
uuid_create(&uuid, &status);
printf("%d\n", sizeof(uuid));
exit(0);
}
---------------
> cc -o test_uuid test.c
> ./test_uuid
16
compila e funziona.
Idee?
Ciao, \ferz
_______________________________________________
Aiuto mailing list
[email protected]
http://mailman.gufi.org/mailman/listinfo/aiuto