Hello.

gcc gives error
----<snip>------
gcc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.3-RC-2\" -DHAVE_DLFCN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_CRYPT_H=1 -DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -DG_LOG_DOMAIN=\"midgard-lib\" -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/mysql/include/mysql -I/usr/local/include -Wall -g -O2 -Wp,-MD,.deps/midgard.pp -c midgard.c -fPIC -DPIC -o .libs/midgard.lo
midgard.c: In function `mgd_log_debug_default':
midgard.c:63: warning: implicit declaration of function `flock'
midgard.c:63: `LOCK_EX' undeclared (first use in this function)
midgard.c:63: (Each undeclared identifier is reported only once
midgard.c:63: for each function it appears in.)
midgard.c:110: `LOCK_UN' undeclared (first use in this function)
midgard.c: In function `mgd_parse_log_levels':
midgard.c:126: warning: subscript has type `char'
midgard.c:145: warning: subscript has type `char'
gmake[1]: *** [midgard.lo] Error 1
----<snip>------

configure gave this warning, which according to the people maintaining the system has not before caused any real problems and they like the version of GCC installed (newer version can of course installed if neccessary).

------<snip>----
*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
*** create self contained shared libraries on Solaris systems, without
*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
*** -no-undefined support, which will at least allow you to build shared
*** libraries. However, you may find that when you link such libraries
*** into an application without using GCC, you have to manually add
*** `gcc --print-libgcc-file-name` to the link command. We urge you to
*** upgrade to a newer version of GCC. Another option is to rebuild your
*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
-----<snip>-----

Ideas ? I'm asking the maintainers to upgrade the GCC but it might not solve this.

/Eero


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to