Aargh... I'll be back tonight and try to deal with these and whatever else turns up during the day then.
Pete Jeff Braun wrote: > As expected, gcc compiles EditorWindow.C and JavaNet.C with just warnings: > > EditorWindow.C:7091: warning: initialization to `char *' from `const char > *' discards const > JavaNet.C:532: warning: assignment to `char *' from `const char *' > discards const > JavaNet.C:545: warning: assignment to `char *' from `const char *' > discards const > etc. > > Now I have problems in src/uipp/java at gmake usual_shared_object: > > gcc -call_shared -U -shared -o libAnyDX.so `ls ../dxl/*.o | sed -e > "s&../dxl/object.o&&" -e "s&../dxl/x11.o&&"` DXLink.o > ld32: ERROR 33: Unresolved text symbol "main" -- 1st referenced by > /usr/lib32/mips3/crt1.o. > ld32: INFO 152: Output file removed because of error. > gmake[1]: *** [usual_shared_object] Error 1 > > If I remove -call_shared -U (ie., unset DX_RTL_LDFLAGS), everything > appears to work fine. Is this what I want to be doing? > > (I tried some other options, including using ld instead of gcc, but then I > got errors in DXLink when I tried some of the jx examples). > > Jeff