Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'doesn't run on OS X 10.2?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
doesn't run on OS X 10.2?
Authored by: aisikl on Nov 22, '02 07:41:44AM

I'm a bit surprised that compiling mtr worked for almost everyone here without errors because i had the same errors as wealthychef BUT there's a really simple fix for it -- do as follows:
after gunzipping the file and BEFORE typing ./configure, go into the mtr folder and look for a file called curses.c -- open it with a text editor and scroll down till you find the following lines:

#ifndef getmaxyx
# define getmaxyx(win,y,x) ((y) = (win)->_maxy + 1, (x) = (win)->_maxx + 1
#endif

just delete the underscores before maxy and maxx so that the lines look like:

#ifndef getmaxyx
# define getmaxyx(win,y,x) ((y) = (win)->maxy + 1, (x) = (win)->maxx + 1
#endif

save your changes and run ./configure, make, and install.
that's all.
good luck



[ Reply to This | # ]
doesn't run on OS X 10.2?
Authored by: blip on Jan 12, '03 08:29:01AM

The fix of removing underscores in the curses.c file did not work for me. I got the same error as WealthyChef -
dyld: mtr Undefined symbols:
mtr undefined reference to _stdscr expected to be defined in /usr/lib/libSystem.B.dylib
Trace/BPT trap
Any other possible solutions?



[ Reply to This | # ]