qcoles
asked on
Solaris 2.5.1 Compile problems
I am having a hard time compiling anything on my solaris machine. I am either getting a 'TopFrame' Error or a 'builtin_va_alist' error. I've read that for both errors it says not to use the 'I/usr/include' with gcc but I don't know where to change that or where it is being declared. With sendmail I am using the Build script that came with the distribution and with Tcp wrappers 'make sunos5' brings the same error. Where do I specify the options with gcc? I am using gcc version 2.7.2. Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much.
# cd /opt/GCC2721/bin
# ./just-fixinc
To use the compiler, add /opt/GCC2721/bin and /usr/ccs/bin to your PATH. To check the installation, type "gcc -v".
Once you have run the just-fixinc script, gcc will have a locally-modified copy of the header files installed in a place where gcc can automatically find them, ie, you should not have to modify any make files;
/opt/GCC2721/lib/gcc-lib/2
Hope this helps,
--frankf