Re: Unable to update grace

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 4/14/21 4:46 PM, Alexander Hansen wrote:
> 
> 
>> On Apr 14, 2021, at 09:09, James Kolata <[email protected]> wrote:
>>
>> OK.  I looked at the log and found a few places where errors occurred.  (I could send the entire log if necessary, but it’s pretty big).
>> Here is what I found:
>>
>> configure:9497: checking for a Motif >= 1002 compatible API
>> configure:9535: gcc -o conftest  -I/opt/X11/include -O2  -fno-common -Wall -Wpointer-arith -Wnested-externs -fno-strength-reduce  -I/opt/X11/include -I/opt/sw/include  -L/opt/X11/lib -L/opt/sw/lib conftest.c -lXm -lXpm -lXmu -lXt -lXext -lX11  -lSM -lICE  >&5
>> clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument]
>> conftest.c:114:9: error: implicit declaration of function 'XmRegisterConverters' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>>         XmRegisterConverters();
>>         ^
> 
> ^ That’s probably the actual error to worry about.
> 
>> conftest.c:114:9: note: did you mean 'XtRegisterCaseConverter'?
>> /opt/X11/include/X11/Intrinsic.h:802:13: note: 'XtRegisterCaseConverter' declared here
>> extern void XtRegisterCaseConverter(
>>             ^
>> conftest.c:117:11: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
>>           exit(1);
>>           ^
>> conftest.c:117:11: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
>> 2 errors generated.
>> configure:9535: $? = 1
>> configure: program exited with status 1
>> configure: failed program was:
>> | /* confdefs.h */
>>
>>
>> Later:
>>
>>
>> /* end confdefs.h.  */
>> |
>> | #include <Xm/XmAll.h>
>> |       int main(void) {
>> |         int vlibn, vincn;
>> |         vincn = XmVersion;
>> |         XmRegisterConverters();
>> |         vlibn = xmUseVersion;
>> |         if (vincn < 1002) {
>> |           exit(1);
>> |         }
>> |         if (vincn != vlibn) {
>> |           exit(2);
>> |         }
>> |         exit(0);
>> |       }
>> |
>> configure:9546: result: no
>> configure:9640: error: M*tif has not been found
>>

I've locally patched grace to build with Xcode12 (a bunch of implicit 
declaration errors). Should I commit directly?

Hanspeter


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
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.