Hello. I was trying to compile openafs under ppc64le on fedora 27 in a vm I made. The first problem I ran into was that config.guess did not know about ppc64le. So I replaced that one with a newer version of it from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD install -p -m 755 %{SOURCE23} ${RPM_BUILD_DIR}/%{name}-%{version}/build-tools/config.guess This got me further. The second problem was that there was no param.ppc64le_linux26.h file. But I found this thread from 2016 and followed the advice given.... https://lists.openafs.org/pipermail/openafs-info/2016-April/041757.html Here are the commands I was using: cp ${RPM_BUILD_DIR}/%{name}-%{version}/src/config/param.ppc64_linux26.h ${RPM_BUILD_DIR}/%{name}-%{version}/src/config/param.ppc64le_linux26.h sed -i 's@AFSBIG_ENDIAN@AFSLITTLE_ENDIAN@' ${RPM_BUILD_DIR}/%{name}-%{version}/src/config/param.ppc64le_linux26.h And that did change the value. And got a bit farther into the build.... cat /home/gsgatlin/redhat/BUILD/openafs-1.6.22.2/src/config/param.ppc64le_linux26.h | grep AFSLITTLE_ENDIAN #define AFSLITTLE_ENDIAN 1 But now the third problem / error I get is: rx_pthread.c:164:97: error: expected expression before ';' token error = CV_TIMEDWAIT(&rx_event_handler_cond, &event_handler_mutex, &rx_pthread_next_event_time); Here is the full output from warnings and errors from a little bit above where it goes south from what I can tell: https://pastebin.com/j9Nm58sy Here are my config options # build the user-space bits for base architectures ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --sysconfdir=%{_sysconfdir} \ --localstatedir=%{_var} \ --with-afs-sysname=%{sysname} \ --with-linux-kernel-headers=%{ksource_dir} \ --disable-kernel-module \ --disable-strip-binaries \ --enable-supergroups where %{sysname} is ppc64le_linux26 Anyone know if there could be a way around that error? Perhaps its just too hard a problem? I could make a longer pastebin with all the output from rpmbuild if it would help. Thanks,
