Gentoo Archives: gentoo-alt

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-alt <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] Prefix hijacking
Date: Fri, 26 Feb 2016 04:17:43
Message-Id: CAL52bMnUpB7GGBeJmyZcjufB5nOy38eVoJNs89yg+FaX=Y6CAw@mail.gmail.com
In Reply to: Re: [gentoo-alt] Prefix hijacking by Steven Trogdon
1 On Thu, Feb 25, 2016 at 8:18 PM, Steven Trogdon <strogdon@×××××.edu> wrote:
2
3 > gfortran -o eps eps.f
4 > Warning: Nonexistent include directory
5 > "/storage/strogdon/gentoo-prefix/usr/x86_64-pc-linux-gnu/storage/strogdon/gentoo-prefix/usr/include"
6 > /storage/strogdon/gentoo-prefix/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../lib64/crt1.o:
7 > In function `_start':
8 > /storage/strogdon/gentoo-prefix/var/tmp/portage/sys-libs/glibc-2.19-r1/work/glibc-2.19/csu/../sysdeps/x86_64/start.S:118:
9 > undefined reference to `main'
10
11 This is because I didn't have a main program in my fortran code which
12 I thought was there. The other errors do prevent the compiler from
13 generating an executable.
14
15 > /storage/strogdon/gentoo-prefix/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/libgfortran.so:
16 > undefined reference to `__secure_getenv'
17 > collect2: error: ld returned 1 exit status