| You are not logged in. Login Now | register | search | ||||||||||||||||||
|
| |||
| Author | Message | ||
|
i |
This item is for system problems. If something on Grex isn't working right (line noise on a modem, weird behavior from a program, etc.), this is the place to announce it. Except for security holes. If you find a hole in system security, mail information about it to "staff". | ||
| 260 responses total. | |||
|
bhoward |
A lot of things have been fixed, tuned or otherwise corrected in the weeks since the upgrade. Now might be a good time to look around and see what other systems issues are still outstanding -- broken or not working the same as before the upgrade -- and mention it here to make certain nothing gets overlooked. | ||
|
aruba |
I still can't compile my C++ programs since the upgrade. I compile the source files like this: g++ -c -fno-exceptions box.cpp g++ -c -fno-exceptions line.cpp g++ -c -fno-exceptions parse.cpp g++ -c -fno-exceptions token.cpp and then link them like this: ld -L/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5 -lc -lm -lstdc++ -o box box.o line.o parse.o token.o The compiles go fine, but the linker has lots of errors of the form: /usr/lib/libstdc++.so.40.0: undefined reference to `_Unwind_Resume' /usr/lib/libstdc++.so.40.0: undefined reference to `_Unwind_DeleteException' and lots more like that. I'm not calling the "Unwind" routines from my code, so I presume the compiler is putting references in automatically. I thought maybe if I turned off exceptions that would take care of it, but as you can see the "-fno-exceptions" flag didn't fix the problem. So I need to either a) tell the compiler not to insert those references, or b) find the libraries that include those Unwind routines and link them in. Anybody have any ideas? | ||
|
mcnally |
Try adding -lgcc and see if that fixes it. | ||
|
aruba |
THanks Mike - that's better. Now I only get two linker errors: /usr/lib/libc.so.38.2: undefined reference to `environ' /usr/lib/libc.so.38.2: undefined reference to `__progname' I'm not referring to those two variables in my program; it looks like libc is. Is that the right libc to use? Anybody know what library has those symbols? | ||
|
cross |
This response has been erased.
| ||
|
Response Not Possible: You are Not Logged In |
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss