]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - COMPILE.Solaris2
In preparation for the upcoming ipfilter vendor code import,
[FreeBSD/FreeBSD.git] / COMPILE.Solaris2
1 If you have BOTH GNU make and the normal make shipped with your system,
2 DO NOT use the GNU make to build this package.  If you have any errors
3 relating to "(" or "TOP", check that you are using /usr/ccs/bin/make as
4 shipped with Solaris 2.
5
6 If you get the following error whilst compiling:
7
8 In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.3/2.6.3/include/sys/user.h:48,
9                  from /usr/include/sys/file.h:15,
10                  from ../ip_nat.c:15:
11 /usr/include/sys/psw.h:19: #error Kernel include of psw.h
12
13 That means that you have a version of gcc build under on older release
14 of Solaris 2.x
15
16 You need to reinstall gcc after each Solaris upgrade; gcc creates its own
17 set of modified system include files which are only valid for the exact
18 release on which gcc was build.
19