Hi,
wenn ich glib12 compilen will, erscheint folgende Meldung:
-bash-2.05b# cd /usr/ports/devel/glib12/
-bash-2.05b# make
===\> Building for glib-1.2.10\_8
make all-recursive
Making all in .
/bin/sh ./libtool --mode=compile cc -DHAVE\_CONFIG\_H -I. -I. -I. -DG\_LOG\_DOMAIN=g\_log\_domain\_glib -O -pipe -mcpu=pentiumpro -Wall -c gstrfuncs.c
rm -f .libs/gstrfuncs.lo
cc -DHAVE\_CONFIG\_H -I. -I. -I. -DG\_LOG\_DOMAIN=g\_log\_domain\_glib -O -pipe -mcpu=pentiumpro -Wall -c gstrfuncs.c -fPIC -DPIC -o .libs/gstrfuncs.lo
gstrfuncs.c: In function `g\_strerror':
gstrfuncs.c:679: conflicting types for `sys\_nerr'
/usr/include/stdio.h:344: previous declaration of `sys\_nerr'
gstrfuncs.c:680: conflicting types for `sys\_errlist'
/usr/include/stdio.h:345: previous declaration of `sys\_errlist'
gstrfuncs.c: In function `g\_printf\_string\_upper\_bound':
gstrfuncs.c:838: `SIZEOF\_LONG' undeclared (first use in this function)
gstrfuncs.c:838: (Each undeclared identifier is reported only once
gstrfuncs.c:838: for each function it appears in.)
gstrfuncs.c:871: warning: concatenation of string literals with \_\_FUNCTION\_\_ is deprecated
gstrfuncs.c:1038: warning: concatenation of string literals with \_\_FUNCTION\_\_ is deprecated
gstrfuncs.c:1081: warning: concatenation of string literals with \_\_FUNCTION\_\_ is deprecated
gstrfuncs.c:1113: warning: concatenation of string literals with \_\_FUNCTION\_\_ is deprecated
\*\*\* Error code 1
Stop in /usr/ports/devel/glib12/work/glib-1.2.10.
\*\*\* Error code 1
Stop in /usr/ports/devel/glib12/work/glib-1.2.10.
\*\*\* Error code 1
Stop in /usr/ports/devel/glib12/work/glib-1.2.10.
\*\*\* Error code 1
Stop in /usr/ports/devel/glib12.
-bash-2.05b#
Ich brauch die aber. glib20 lässt sich installieren, die nützt mir aber nichts, weil glib12 als dependency benötigt wird.
Was kann ich tun, um das trotzdem irgendwie hinzubekommen?
Irgendwelche Compiler-Flags setzen oä?
Zum System:
-bash-2.05b# uname -a
FreeBSD R320-BSDHACKER.rwe.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 [email protected]:/usr/obj/usr/src/sys/GENERIC i386
-bash-2.05b# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.1 [FreeBSD] 20021119 (release)
Dank & Gruß,
-doc.