Hi Aurelien,

> using the libc6-dbg package, I have seen that the getmntent() function
> is called with a NULL pointer. This may be due to the fact that on s390
> there is in the build log:
>   checking for mount table location... unknown
> 
> whereas on architecture there is:
>   checking for mount table location... /etc/mtab

Thanks for catching this!

The relevant part of configure.in looks like this:

#
# Check for mount table location
#

AC_CACHE_CHECK(for mount table location,ac_cv_ETC_MNTTAB,
[ac_cv_ETC_MNTTAB="unknown"
for i in /etc/mnttab /etc/mtab /etc/filesystems
  do
  if test -f $i; then
    ac_cv_ETC_MNTTAB="$i"
    break;
  fi
done
])

My *guess* is that the buildd server for s390 has no /etc/mtab or /etc/mtab 
might be a symlink.
So maybe a fix could be to use -e instead of -f in the above test case. 
However, i'll ask this
on [EMAIL PROTECTED]

Do you by any chance have the possibility to recompile net-snmp on s390 and 
check if the crash
disappears when configure finds the correct mount table location?

Thanks,
Jochen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to