Compilation issues

Joe Hartley <[email protected]>
Newsgroups gmane.linux.aurora.user
Message-ID <[email protected]>
I'm trying to build a new version of qpopper that supports encryption
for my Aurora 2.0 server, but am running into an issue.

[root@zappa qpopper4.0.9]# sparc32bash
[root@zappa qpopper4.0.9]# ../configure --with-openssl
          * * * snip * * *
checking fcntl.h usability... no
checking fcntl.h presence... yes
configure: WARNING: fcntl.h: present but cannot be compiled
configure: WARNING: fcntl.h: check for missing prerequisite headers?
configure: WARNING: fcntl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [email protected]. ##
configure: WARNING:     ## ------------------------------------ ##
checking for fcntl.h... yes

There are a lot of these warning during the configure phase, and while
a makefile is produced, the make fails:

[root@zappa qpopper4.0.9]# make
cd ./popper  && make all
make[1]: Entering directory `/root/qpopper4.0.9/popper'
gcc -c -I.. -I.. -I. \
        -I../mmangle -I../common -I/usr/local/ssl/include \
        -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX pop_dele.c -o pop_dele.o
In file included from /usr/include/stdio.h:830,
                 from pop_dele.c:24:
/usr/include/bits/stdio.h:112: error: syntax error before '(' token
/usr/include/bits/stdio.h:119: error: syntax error before '(' token
In file included from pop_dele.c:25:
/usr/include/stdlib.h:146: error: syntax error before "__nonnull"
/usr/include/stdlib.h:149: error: syntax error before "__nonnull"
/usr/include/stdlib.h:152: error: syntax error before "__nonnull"
/usr/include/stdlib.h:159: error: syntax error before "__nonnull"
          * * * snip * * *
/usr/include/stdlib.h:325: error: syntax error before '(' token
/usr/include/stdlib.h:330: error: syntax error before '(' token
/usr/include/stdlib.h:336: error: syntax error before '(' token
          * * * snip * * *
In file included from /usr/include/sys/socket.h:35,
                 from popper.h:62,
                 from pop_dele.c:29:
/usr/include/bits/socket.h:264: error: syntax error before '(' token
/usr/include/bits/socket.h:271: error: invalid type argument of `->'
/usr/include/bits/socket.h:272: error: syntax error before "if"
make[1]: *** [pop_dele.o] Error 1
make[1]: Leaving directory `/root/qpopper4.0.9/popper'
make: *** [popper_server] Error 2

Has anyone run into this before??  I can't believe the system header files
(/usr/include/stdlib.h, fer cryin' out loud) have syntax errors.  Is it
autoconf that's messed up?  cpp? gcc? configure?

Thanks for any pointers y'all can toss my way.

-- 
======================================================================
       Joe Hartley - UNIX/network Consultant - [email protected]
Without deviation from the norm, "progress" is not possible. - FZappa
_______________________________________________
Aurora-sparc-user mailing list
[email protected]
http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-user
Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.