Actually, on my system it is already throwing a warning on this line, and it's just that on your system apparently the warning is an error rather than a warning. If I can eliminate the warning on my system it will have fixed yours.
As a temporary measure, you may be able to disable the "warning is an error" thing for this specific problem by adding "-Wno-error=implicit-function-declaration" to the CFLAGS. That should turn that error back into a warning for just the implicit function declaration issue and let you get past configure's problem. I will work on getting the probe correct so that this implicit function declaration issue is not a problem. It will take time, as once the correct prototype is set up, XmGetDestination requires arguments and no longer correctly compiles without them. > > > > configure:8614: result: no > > > > configure:8675: checking for Motif headers > > > > configure:8681: gcc -E -I/sw/include -I/opt/local/include > > > > -I/usr/local/include -I/opt/local/include conftest.c > > > > configure:8681: $? = 0 > > > > configure:8685: result: in default path > > > > configure:8745: checking for Motif libraries > > > > configure:8765: gcc -o conftest -g -O2 -pipe -W -Wall -Wpointer-arith > > > > -Wstrict-prototypes -Wno-unused-parameter -I/sw/include > > > > -I/opt/local/include -I/usr/local/include -I/opt/local/include > > > > -L/sw/lib -L/opt/local/lib -L/usr/local/lib -L/opt/local/lib > > > > conftest.c -lXm -lXm -lXt -lXext -lSM -lICE -lX11 -lcurl >&5 > > > > conftest.c:52:1: error: implicit declaration of function > > > > 'XmGetDestination' is invalid in C99 > > > > [-Werror,-Wimplicit-function-declaration] > > > > XmGetDestination() -- Tom Russo KM5VY Tijeras, NM echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m] _______________________________________________ Xastir mailing list [email protected] http://xastir.org/mailman/listinfo/xastir
