Re: ERROR #22 texdef2d: ERR_BADINDEX

New Message Reply Date view Thread view Subject view Author view

Robin Rowe (rower++at++cs.nps.navy.mil)
Thu, 30 Nov 95 10:28:02 PST


Rob,

<< Please run through gldebug < your app > and break on GL errors - you may get
some errors that don't normally show up, if you use the -C option you should be
able to make some C code with the relevant GL calls in, this may help make an
example if you know roughly where/when in your app the texdef2d happens. >>

Ok. I hadn't tried that yet. I have some other things to try, too.

<< Are you compiling with -g ? >>

Wouldn't it be a bit difficult single stepping dbx without that? ;-) Seriously, I
normally do get core files, just not always and not with this bug.

<< from man f77... >>

Maybe I'm slow, but I had already read all the man pages you referred me to many times
without finding the answers to the questions I asked. Could you answer my questions
directly, and not quote from the less than clear man pages? Here are my questions
again, worded more precisely:

1. What are the *file names* of the system libraries that are linked by
-L/usr/lib/align?

2. If I use -L/usr/lib/align *must* I call handle_unaligned_traps() or are the trap
handlers installed automatically simply by linking?

3. What is the *file name* of the include file for handle_unaligned_traps()?

4. One more question. As I understand it the align library is supposed to be
dynamically loaded. Can I statically bind -L/usr/lib/align? If so, how? (I'm not clear
on the static vs. dynamic linker commands.)

Sorry I wasn't clear in what I wanted before.

To summarize my setup:

1. I'm using -align16 with the Fortran code,

2. Building that with other ANSI/K&R C code into four archives,

3. Linking those libs into one big archive called libdvw.o along with the f77 system
libs,

4. Linking libdvw.o to main.o (the C++/C app I'm integrating into) using
-L/usr/lib/align.

Have I left something out?

Thanks.

Robin


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:04 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.