Jochen Friedrich a écrit : > 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? >
It's what I am doing currently. At least the output from configure is correct. I have to go now, so the result will be later today. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]