[Evolution-hackers] error compiling evolution-data-server from CVS



Hi,
I followed the instructions from:
http://freax.be/wiki/index.php/Compiling%20Evolution%20from%20CVS
and I encountered this error:
2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I /usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -MT e-msgport.lo -MD -MP -MF .deps/e-msgport.Tpo -c e-msgport.c -fPIC -DP
IC -o .libs/e-msgport.o
e-msgport.c:39:18: nspr.h: No such file or directory
e-msgport.c:349: error: syntax error before "PRFileDesc"
e-msgport.c:349: warning: no semicolon at end of struct or union
e-msgport.c:349: warning: no semicolon at end of struct or union
e-msgport.c:350: warning: type defaults to `int' in declaration of `write'
e-msgport.c:350: error: 'write' redeclared as different kind of symbol
/usr/include/unistd.h:318: error: previous declaration of 'write' was here
e-msgport.c:350: error: 'write' redeclared as different kind of symbol
/usr/include/unistd.h:318: error: previous declaration of 'write' was here
e-msgport.c:350: warning: data definition has no type or storage class
e-msgport.c:351: error: syntax error before '}' token
e-msgport.c:351: warning: type defaults to `int' in declaration of `prpipe'
e-msgport.c:351: warning: data definition has no type or storage class
e-msgport.c:356: error: syntax error before '}' token
e-msgport.c: In function `e_msgport_new':
e-msgport.c:362: error: dereferencing pointer to incomplete type
e-msgport.c:363: error: dereferencing pointer to incomplete type
e-msgport.c:364: error: dereferencing pointer to incomplete type
e-msgport.c:365: error: dereferencing pointer to incomplete type
e-msgport.c:366: error: dereferencing pointer to incomplete type
e-msgport.c:367: error: dereferencing pointer to incomplete type
e-msgport.c:369: error: dereferencing pointer to incomplete type
e-msgport.c:370: error: dereferencing pointer to incomplete type
e-msgport.c:372: error: dereferencing pointer to incomplete type
e-msgport.c: In function `e_msgport_destroy':
e-msgport.c:379: error: dereferencing pointer to incomplete type
e-msgport.c:380: error: dereferencing pointer to incomplete type
e-msgport.c:381: error: dereferencing pointer to incomplete type
e-msgport.c:382: error: dereferencing pointer to incomplete type
e-msgport.c:383: error: dereferencing pointer to incomplete type
e-msgport.c:386: error: dereferencing pointer to incomplete type
e-msgport.c:387: warning: implicit declaration of function `PR_Close'
e-msgport.c:387: error: dereferencing pointer to incomplete type
e-msgport.c:388: error: dereferencing pointer to incomplete type
e-msgport.c: In function `e_msgport_fd':
e-msgport.c:399: error: dereferencing pointer to incomplete type
e-msgport.c:400: error: dereferencing pointer to incomplete type
e-msgport.c:402: error: dereferencing pointer to incomplete type
e-msgport.c:403: error: dereferencing pointer to incomplete type
e-msgport.c:405: error: dereferencing pointer to incomplete type
e-msgport.c: At top level:
e-msgport.c:411: error: syntax error before '*' token
e-msgport.c:412: warning: return type defaults to `int'
e-msgport.c:412: error: conflicting types for 'e_msgport_prfd'
e-msgport.h:70: error: previous declaration of 'e_msgport_prfd' was here
e-msgport.c:412: error: conflicting types for 'e_msgport_prfd'
e-msgport.h:70: error: previous declaration of 'e_msgport_prfd' was here
e-msgport.c: In function `e_msgport_prfd':
e-msgport.c:413: error: `PRFileDesc' undeclared (first use in this function)
e-msgport.c:413: error: (Each undeclared identifier is reported only once
e-msgport.c:413: error: for each function it appears in.)
e-msgport.c:413: error: `fd' undeclared (first use in this function)
e-msgport.c:415: error: dereferencing pointer to incomplete type
e-msgport.c:416: error: dereferencing pointer to incomplete type
e-msgport.c:418: warning: implicit declaration of function `PR_CreatePipe'
e-msgport.c:418: error: dereferencing pointer to incomplete type
e-msgport.c:418: error: dereferencing pointer to incomplete type
e-msgport.c:419: error: dereferencing pointer to incomplete type
e-msgport.c:421: error: dereferencing pointer to incomplete type
e-msgport.c: In function `e_msgport_put':
e-msgport.c:431: error: `PRFileDesc' undeclared (first use in this function)
e-msgport.c:431: error: `prfd' undeclared (first use in this function)
e-msgport.c:435: error: dereferencing pointer to incomplete type
e-msgport.c:436: error: dereferencing pointer to incomplete type
e-msgport.c:437: error: dereferencing pointer to incomplete type
e-msgport.c:439: error: dereferencing pointer to incomplete type
e-msgport.c:441: error: dereferencing pointer to incomplete type
e-msgport.c:443: error: dereferencing pointer to incomplete type
e-msgport.c:445: error: dereferencing pointer to incomplete type
e-msgport.c:449: error: called object is not a function
e-msgport.c:455: warning: implicit declaration of function `PR_Write'
e-msgport.c: In function `msgport_cleanlock':
e-msgport.c:466: error: dereferencing pointer to incomplete type
e-msgport.c: In function `e_msgport_wait':
e-msgport.c:474: error: dereferencing pointer to incomplete type
e-msgport.c:475: error: dereferencing pointer to incomplete type
e-msgport.c:476: error: dereferencing pointer to incomplete type
e-msgport.c:481: error: dereferencing pointer to incomplete type
e-msgport.c:484: error: dereferencing pointer to incomplete type
e-msgport.c:484: error: dereferencing pointer to incomplete type
e-msgport.c:485: error: dereferencing pointer to incomplete type
e-msgport.c:488: error: dereferencing pointer to incomplete type
e-msgport.c:491: error: dereferencing pointer to incomplete type
e-msgport.c:492: error: `PRPollDesc' undeclared (first use in this function)
e-msgport.c:492: error: syntax error before "polltable"
e-msgport.c:496: error: dereferencing pointer to incomplete type
e-msgport.c:498: error: `polltable' undeclared (first use in this function)
e-msgport.c:498: error: dereferencing pointer to incomplete type
e-msgport.c:499: error: `PR_POLL_READ' undeclared (first use in this function) e-msgport.c:499: error: `PR_POLL_ERR' undeclared (first use in this function)
e-msgport.c:500: warning: implicit declaration of function `PR_Poll'
e-msgport.c:500: error: `PR_INTERVAL_NO_TIMEOUT' undeclared (first use in this function)
e-msgport.c:500: warning: implicit declaration of function `PR_GetError'
e-msgport.c:500: error: `PR_PENDING_INTERRUPT_ERROR' undeclared (first use in this function)
e-msgport.c:503: error: dereferencing pointer to incomplete type
e-msgport.c:508: error: dereferencing pointer to incomplete type
e-msgport.c:511: error: dereferencing pointer to incomplete type
e-msgport.c:511: error: dereferencing pointer to incomplete type
e-msgport.c:514: error: dereferencing pointer to incomplete type
e-msgport.c:517: error: dereferencing pointer to incomplete type
e-msgport.c:519: error: dereferencing pointer to incomplete type
e-msgport.c: In function `e_msgport_get':
e-msgport.c:529: error: dereferencing pointer to incomplete type
e-msgport.c:530: error: dereferencing pointer to incomplete type
e-msgport.c:532: error: dereferencing pointer to incomplete type
e-msgport.c:533: error: dereferencing pointer to incomplete type
e-msgport.c:535: error: dereferencing pointer to incomplete type
e-msgport.c:537: warning: implicit declaration of function `PR_Read'
e-msgport.c:537: error: dereferencing pointer to incomplete type
e-msgport.c:543: error: dereferencing pointer to incomplete type
e-msgport.c: In function `e_thread_put':
e-msgport.c:941: error: dereferencing pointer to incomplete type
e-msgport.c:950: error: dereferencing pointer to incomplete type
make[2]: *** [e-msgport.lo] Błąd 1
make[2]: Leaving directory `/home/piotr/cvs/gnome/evolution-data-server/libedataserver'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/piotr/cvs/gnome/evolution-data-server'
make: *** [all] Błąd 2
[piotr localhost evolution-data-server]$

can you help?

thanks

Piotr

--
Kopalnia Dzwieku
Piotr Karol Sawicki email: pelle plusnet pl
strona domowa: www.piotr.art.pl
gg: 8976726
jabber ID: pelle jabber aster pl





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]