sawyl: (Default)
[personal profile] sawyl
Back in October, I started porting some of my utilities over to AIX. Most compiled without problem, but one, a curses application written in C++, suffered from a number of strange problems. Initially, I had trouble getting the link step to complete because the editor kept on complaining about missing symbols, despite the fact that the symbols appeared to be visible in the archive. Then, when I finally managed to generate an executable, I found that it aborted with weird IO trap errors, although the curses routines were writing out of bounds — something I suspected might be due a mismatch between the compiler used to build the application and the compiler used to build the library.

Finally, today, whilst working on something else, I had a breakthrough: I realised that someone had made a global change on the system to set the OBJECT_MODE environment variable, forcing the compilers into 64 bit mode. Suspecting that this was the cause of the various link errors I'd been seeing, I unset it and retried my build, and sure enough my curses application built flawlessly.

Talk about an annoying waste of time...
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 6th, 2026 07:29 am
Powered by Dreamwidth Studios