3

我是 Arch Linux 的新手。我试图从 github 编译 IRAF 包,我有多个定义错误。

/usr/bin/ld: xppcode.o:/home/nastya/iraf/unix/boot/spp/xpp/xppcode.c:109: multiple definition of `errflag'; xppmain.o:/home/nastya/iraf/unix/boot/spp/xpp/xppmain.c:21: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:19: sysgen] Error 1

我的操作系统是 Manjaro Linux。我使用 gcc (GCC) 10.1.0。

我还尝试在其他 LINUX 发行版(在 Ubuntu、Debian 上)上编译这个包,一切都很好。

该问题仅出现在 Arch 上。我还尝试使用不同版本的 GCC(5.5 和 7.5.0),但并没有解决问题。

我之前在尝试在 Arch 上安装另一个软件包(GALFIT)时也遇到了这个问题,在这种情况下,它完美地安装在了 Arch 之外的其他 LINUX 发行版上。

我感谢任何帮助和建议。

4

0 回答 0