hi,
first: i am not on the list, i try to subscribe, but there is no response from
the list manager...
my problem:
i installed the new redhat distro (version 7.0), now when i try to compile
the new midgard beta version i get an error when it comes to make
format.o, the complete output follows!
what is wrong? what should i do to get it compiled?
======== output ===========
[root@wotan midgard-lib-1.45d]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles...
no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for glib-config... (cached) /usr/bin/glib-config
checking for library containing crypt... (cached) -lcrypt
checking for crypt.h... (cached) yes
checking for library containing compress... (cached) -lz
checking for library containing g_string_new... (cached) none required
checking for library containing floor... (cached) -lm
checking whether to enable SiteGroups... yes
checking MySQL location... /usr
checking Expat location... /usr
checking for library containing mysql_connect... (cached) -lmysqlclient
checking for library containing XML_ParserCreate... (cached) -lexpat
checking for errmsg.h... (cached) yes
checking for mysql.h... (cached) yes
creating ./config.status
creating Makefile
creating midgard.h
[root@wotan midgard-lib-1.45d]# make
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"midgard-lib\" -
DVERSION=\"1.4-beta5c\" -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1
-DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I/usr/include/
mysql -I/usr/include -g -O2 -I/usr/lib/glib/include -c midgard.c
mkdir .libs
gcc -DPACKAGE=\"midgard-lib\" -DVERSION=\"1.4-beta5c\" -
DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_ERRMSG_H=1 -
DHAVE_MYSQL_H=1 -I. -I. -I/usr/include/mysql -I/usr/include -g -O2 -I/
usr/lib/glib/include -Wp,-MD,.deps/midgard.pp -c midgard.c -fPIC -DPIC
-o .libs/midgard.lo
gcc -DPACKAGE=\"midgard-lib\" -DVERSION=\"1.4-beta5c\" -
DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_ERRMSG_H=1 -
DHAVE_MYSQL_H=1 -I. -I. -I/usr/include/mysql -I/usr/include -g -O2 -I/
usr/lib/glib/include -Wp,-MD,.deps/midgard.pp -c midgard.c -o
midgard.o >/dev/null 2>&1
mv -f .libs/midgard.lo midgard.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"midgard-lib\" -
DVERSION=\"1.4-beta5c\" -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1
-DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I/usr/include/
mysql -I/usr/include -g -O2 -I/usr/lib/glib/include -c format.c
rm -f .libs/format.lo
gcc -DPACKAGE=\"midgard-lib\" -DVERSION=\"1.4-beta5c\" -
DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_ERRMSG_H=1 -
DHAVE_MYSQL_H=1 -I. -I. -I/usr/include/mysql -I/usr/include -g -O2 -I/
usr/lib/glib/include -Wp,-MD,.deps/format.pp -c format.c -fPIC -DPIC -o
.libs/format.lo
format.c: In function `mgd_vformat_ext':
format.c:809: `char' is promoted to `int' when passed through `...'
format.c:809: (so you should pass `int' not `char' to `va_arg')
format.c: In function `mgd_vformat':
format.c:934: `char' is promoted to `int' when passed through `...'
make: *** [format.lo] Error 1
=========================
please don't forget to write a copy of your suggestions to me!
thanks!!!!
manu :-)
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]