From: henry@acca.nmsu.edu (Henry - Man of knowedge) Subject: SRGP / GCC questions Date: 5 Feb 1993 01:07:34 GMT
Two neat questions that are kinda related:
Has anyone compiled the SRGP/SPHIGS libs for linux yet?
I have tried compiling the SRGP libs, but the example programs crashed or gave
output. And when it crashes, it CRASHED. Like, it's reset button
time.
And a related question:
Why doesn't gcc like th -g option??
I'm trying to debug the libs and find the problem, but if I compile any program
with the -g option, I get:
/root/SRGP_DISTRIB/src/srgp# cc -g -o circ2 circ2.c -lsrgp -lX11 -lm
/usr/lib/crt0.o: Undefined symbol ___environ referenced from text segment
/usr/lib/libsrgp.a(srgp_state.o): Undefined symbol ___std_filebuf_2 referenced from text segment
/usr/lib/libsrgp.a(srgp_state_X.o): Undefined symbol ___std_filebuf_2 referenced from text segment
/usr/lib/libsrgp.a(srgp_color_X.o): Undefined symbol ___std_filebuf_2 referenced from text segment
/usr/lib/libsrgp.a(srgp_color_X.o): Undefined symbol ___std_filebuf_2 referenced from text segment
/usr/lib/libsrgp.a(srgp_error.o): Undefined symbol ___std_filebuf_2 referenced from text segment
/usr/lib/libsrgp.a(srgp_font.o): Undefined symbol ___std_filebuf_2 referenced from text segment
/usr/lib/libgcc.a(_caps_New.o): Undefined symbol ___write referenced from text segment
but if I compile without the -g, it compiles just fine.
(and crashes)
Help Help! I refuse to use SRGP from Blek-DOS!
-Mark