Hi,

>i've managed to get rid of the previous error below, and I hit another  
>wall:
>
>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono  
>- -I../../libgc/include -I/opt/csw/include/glib-2.0  
>- -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/glib-2.0  
>- -I/opt/csw/lib/glib-2.0/include -DMONO_ASSEMBLIES=\"/usr/local/lib\"  
>- -DMONO_CFG_DIR=\"/usr/local/etc\" -DGC_SOLARIS_THREADS  
>- -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_FILE_OFFSET_BITS=64  
>- -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -g -O2  
>- -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes  
>- -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes  
>- -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align  
>- -Wwrite-strings -Wno-char-subscripts -MT security.lo -MD -MP -MF  
>.deps/security.Tpo -c security.c  -fPIC -DPIC -o .libs/security.o
>security.c: In function `GetTokenName':
>security.c:139: error: too many arguments to function `getpwuid_r'

In the source I have here (and checking man getpwuid_r), there are 5
parameters expected and 5 supplied. Same applies to the next error.

By the looks of it, something on your system is getting confused. Check
whereever you have gcc installed what pwd.h has in there for the
functions being moaned at. Do you have two versions of gcc on your box
(or one which has been removed, but something left behind)?

TTFN

Paul
-- 
"I like blinking me" - Helen, Big Brother 2 contestant

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to