autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

irix problem


From: Tiaan Wessels
Subject: irix problem
Date: Thu, 27 Sep 2001 09:18:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; 0.7) Gecko/20010316

hi,
i am trying to compile a package on irix6.5
which have been autoconf'ed. the problem is
that when running ./configure, i see a myriad
of standard functions going undetected. the
package then attempts to use its own replacement
which inadvertently clashes with the 'real'
version (e.g. const qualifier mismatch in the prototypes).
strerror is one such function.
furthermore, when trying to build the m4 package
for instance, g++ is used as the CC and not gcc.
some .c files uses C constructs which are rejected
by g++ e.g. declaring types of function parameters
after () and before {}. i manually changed this to
gcc after which it worked. at linking however,
some replacement functions are used e.g. strtol
which clashes with the 'real' by the following warning

ld32: WARNING 85: definition of strtol in ../lib/libm4.a(strtol.o) preempts that definition in /usr/lib32/mips3/libc.so.

where ../lib/libm4.a contains the replacements.
apparently autoconf is irix6.5 friendly. does anyone
have an idea why my system is not autoconf friendly
i.e. so many functions are not detected correctly.
i am trying to install the latest version of autoconf
to try to recreate the configure scripts for my package
(ucd-snmp b.t.w.) with newer m4 macros hoping that would
solve the problem but this is like a chicken and egg problem.
m4 is needed but uses configure scripts.
any help will be appreciated
tiaan wessels




reply via email to

[Prev in Thread] Current Thread [Next in Thread]