GetSecs MEX was working, now isn't (Mac OSX 10.4.11, latest PTB)

Hello PTB developers / users --

Here's a strange problem. Before yesterday, PTB (v3.08) on our G5 Mac (OSX 10.4.11, Matlab 7.3) seemed to work fine. However, in trying to get PTB to communicate with NetStation on another computer (for EEG recordings), I messed around with IP addresses, plugged and unplugged ethernet cables, invoked the PTB command NetStation('connect'), and perhaps a few other things along those lines.

Now, PTB is having problems with some of its MEX files. In particular, the command GetSecs returns the following error message (I inserted the dashed lines):

-----------------
??? Invalid MEX-file '/opt/local/matlabTools/PsychtoolboxV3/Psychtoolbox/PsychBasic/GetSecs.mexmac': dlopen(/opt/local/matlabTools/PsychtoolboxV3/Psychtoolbox/PsychBasic/GetSecs.mexmac, 1): Symbol not found: ___gxx_personality_v0
Referenced from: /opt/local/matlabTools/PsychtoolboxV3/Psychtoolbox/PsychBasic/GetSecs.mexmac
Expected in: flat namespace
.
----------------

(Yes, I specified the directory for PTB to be /opt/local/...)

I have no idea what's going on. From looking around online for some of the terms (including "___gxx_personality_v0"), I think it may have to do with how the GetSecs.c file is compiled. However, I am pretty ignorant of these things.

Here is what I've tried (all to no avail):

1) enter the command "clear MEX" in matlab
2) reinstalled PTB
3) reinstalled PTB and placed it into a different directory
4) altered the classpaths.txt file so that the "pointer" to PTB was at the top

Most steps did involve restarting Matlab and even restarting the computer.

Here's another piece to the puzzle. For reasons I will not go into here, I have it set up so that an older version of Matlab (v7.2), running on the same computer, runs PTB v 1.06. (Yes, I was careful to make sure all the appropriate paths are fine... that PTB is in another directory.)

GetSecs from PTB v1 works fine when running matlab v7.2. I also removed PTB v3.08 from the path of matlab v7.3 and run GetSecs from PTB v1, and that works fine.

So, something weird has happened to how PTB v3.08 implements GetSecs on my computer, even after I simply reinstalled all PTB files.

I stress again that everything worked fine a couple of days ago.

I am currently trying to learn more about how MEX files are compiled and what compilers are used in our Mac. However, any ideas would be much appreciated! Thank you!

- ash