[Mono-list] mono 1.1.4 and solaris x86
Paul
paul@all-the-johnsons.co.uk
Sat, 19 Feb 2005 18:40:46 +0000
--=-Gp080Nw8Pav5q8CJZ29K
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi,
>i've managed to get rid of the previous error below, and I hit another =20
>wall:
>
>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono =20
>- -I../../libgc/include -I/opt/csw/include/glib-2.0 =20
>- -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/glib-2.0 =20
>- -I/opt/csw/lib/glib-2.0/include -DMONO_ASSEMBLIES=3D\"/usr/local/lib\" =20
>- -DMONO_CFG_DIR=3D\"/usr/local/etc\" -DGC_SOLARIS_THREADS =20
>- -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 =20
>- -D_XOPEN_SOURCE=3D500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=3D1 -g -=
O2 =20
>- -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes =20
>- -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes =20
>- -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align =20
>- -Wwrite-strings -Wno-char-subscripts -MT security.lo -MD -MP -MF =20
>.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
--=20
"I like blinking me" - Helen, Big Brother 2 contestant
--=-Gp080Nw8Pav5q8CJZ29K
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQBCF4guusSVe5EZv3wRAk3JAJ4qfmeb9OZqK1Fq/arVHUeEfUOK/wCfaAiE
DEcCsyaKcrpnAphYQQlz+oo=
=e45G
-----END PGP SIGNATURE-----
--=-Gp080Nw8Pav5q8CJZ29K--