+++ Dan Espen [Sun, Sep 22, 2002 at 07:06:40PM CEST]:
> Please continue to copy the fvwm list, there are other people
> on the list, and if I go astray, one of them is sure to help.
Sorry, i forgot to add the cc-adress
> I can reproduce this if I pass the arg "-Ac" or "-Aa" to the
> compiler. Without the arg or with "-Ae" it compiles fine.
>
> You apparently have a different version of the compiler installed
> or somehow you are passing different args.
>
> First check and make sure you don't have the environment variable
> CCOPTS preset:
>
> echo $CCOPTS
>
> If it is set, unset it and try again.
> If its not set, try this:
>
> CCOPTS=-Xe;export CCOPTS
>
> then try to compile the test program.
>
> If that works, try configure.
> If that doesn't work, try to find out more about your compiler:
>
> man cc
CCOPTS was not set, sure that you mean the option -Xe? Anyway, i'm
going to try -Ae and -Xe
# CCOPTS=-Xe;export CCOPTS
# echo $CCOPTS
-Xe
# cc -o /tmp/test /tmp/test.c
(Bundled) cc: warning 422: Unknown option "X" ignored.
(Bundled) cc: warning 480: The -e option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: "/tmp/test.c", line 9: error 1000: Unexpected symbol:
"fd_set".
(Bundled) cc: "/tmp/test.c", line 9: error 1000: Unexpected symbol:
"fd_set".
(Bundled) cc: "/tmp/test.c", line 9: error 1000: Unexpected symbol:
"fd_set".
(Bundled) cc: "/tmp/test.c", line 8: error 1705: Function prototypes
are an ANSI feature.
The first try -Xe and the second try -Ae, both failed. The last with
message "The -A option is available only with the C/ANSI C product"
rest from output was the same.
The cc compiler:
# what $(which cc)
/usr/bin/cc:
HP92453-01 A.11.01.21 HP C (Bundled) Compiler
$ Sep 8 2000 23:13:51 $
Cu
Frank
--
Diese Mail ist auf Grund von ideologischer Verblendung nach den Regeln
der herkömmlichen Rechtschreibung erstellt. Wer verbleibende Fehler
findet, darf sie behalten oder sammeln, bis sie ein Lösungswort ergeben.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Sep 22 2002 - 13:07:44 BST