gcc compiling problems

gcc compiling problems

Post by Ming Tan » Fri, 27 Jul 2001 19:02:51



Hi -

I am trying to compile Apache over my workstation running FreeBSD 4.2
release. After I typed 'make' command, I always get an error message of
"/usr/include/sys/signal.h:235: syntax error before `size'". I then compiled
a
few other programs, I got almost the same error.

Could anyone give me some advice what is going wrong??

Thanks a lot in advance.

Ming

--

% ./configure --prefix=/usr/local/apache
% make
===> src
===> src/os/unix
gcc -c  -I../../os/unix -I../../include   -funsigned-char -DUSE_EXPAT -I../.
./li
b/expat-lite -DNO_DL_NEEDED `../../apaci` os.c
lIn file included from /usr/include/sys/param.h:90,
                 from ../../include/ap_config.h:975,
                 from os.c:6:
/usr/include/sys/signal.h:235: syntax error before `size'
*** Error code 1

Stop in /usr/scratch/root/src/apache_1.3.20/src/os/unix.
*** Error code 1

Stop in /usr/scratch/root/src/apache_1.3.20/src.
*** Error code 1

Stop in /usr/scratch/root/src/apache_1.3.20.
*** Error code 1

Stop in /usr/scratch/root/src/apache_1.3.20.

 
 
 

1. gcc compiling problem: configure: error: installation or configuration problem: C compiler cannot create executables.

hello all I'm trying to install php on Solaris 8, but when it tries to
compile using gcc 2.95.3 i get the following message

checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

my config.log file looks like this:

I have read similar posts just like this one here:
http://groups.google.com/groups?hl=en&lr=&ie=UTF8&oe=UTF8&threadm=9pr...

as well as this information:
From the Solaris 2 FAQ:

  http://www.science.uva.nl/pub/solaris/solaris2/Q6.2.html

6.2) Which packages do I need to install to support a C compiler?

Solaris ships with everything you need, with the exception of the
compiler itself. Solaris ships with the include files, make, an
assembler, linker and libraries. All this stuff lives in /usr/ccs/bin
(add it to your PATH before /usr/ucb if that's in your PATH as well)
/usr/ccs/lib and /usr/include.

If you still can't find it, make sure you have the following packages
installed on your system:

        for tools (sccs, lex, yacc, make, nm, truss, ld, as):
            SUNWbtool, SUNWsprot, SUNWtoo
        for libraries & headers:
            SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
            SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
            SUNWxglh
        for 64 bit development:
            SUNWarcx, SUNWbtoox, SUNWdplx, SUNWscpux, SUNWsprox,
            SUNWtoox, SUNWlmsx, SUNWlmx, SUNWlibCx
        for ucb compat:
            SUNWsra, SUNWsrh
-----------------------
i installed every package i did not have with the exception of SUNWtoo
but yet it seems the same errors appear.  Anyone have any suggestions?
Would installing gcc 3.1 solve this problem?

2. ICA client for Linux

3. GCC compile problem.

4. Slave Printing on SCO w/TERM

5. libc.so.4 GCC compile problems

6. inscription mailing list linux

7. ELF gcc compiling problems

8. Q: diasable cron logs

9. Solaris 2.6 gcc compile problems

10. gcc compile problem. Whay not !

11. gcc compiling problem...

12. gcc compiling problem!

13. pentium gcc compile problems