* gcc link problem on khoros
@ 1997-05-28 4:00 dfoster
0 siblings, 0 replies; only message in thread
From: dfoster @ 1997-05-28 4:00 UTC (permalink / raw)
[-- Attachment #1: khoros.txt --]
[-- Type: text/plain, Size: 1613 bytes --]
I am trying to build Khoros 2.1.0 on Ultrix 4.3 and I have an error linking
cantata (which is a very large program). If I were using the standard C
compiler which came with the operating system, I could use something like:
-Wf,-XNd50000 -Wf,-XNp50000 to build all libraries and then the executable.
However, because the instructions for building khoros indicate that you must
use an ansi compatible compiler, and gcc 2.7.1 is said to work, this is what
I got when I used it:
gcc -o cantata cantata.o create.o do_cantata.o do_dist.o do_find.o
do_finder.o do_grid.o do_pref.o do_program.o do_routines.o
do_variables.o form_drv.o form_info.o form_init.o globals.o
usage.o utilities.o -L/usr/local/khoros210/lib
-fpcc-struct-return -fwritable-strings -ansi -lxvl -lxvf -lxvu -lxvs
-lxvg -lxvm -lxvobj -lkwid -lxvw -lkapu -lkaps -lkdms -lkdac -lkfmt
-lkgen -lkcms -lkclui -lkvf -lkexpr -lklibdb -lklm -lku -lXm -lXmu
-lXt -lXext -lX11 -lm -ll
collect2: ld returned 1 exit status
gp relocation out-of-range for small data or bss by,
5229 in the positive direction,
0 in the negative direction.
produced (corrective action must be taken)
Best -G num value to compile all -count'ed objects creating cantata with is 7
Best -G num value calculation reliable only if all
-count'ed objects were compiled with -G num greater or
equal to maximum size of a literal pool item (8).
*** Error code 1
Are there CFLAGS which I should know about, or is there something missing in
my gcc configuration which I need to add?
Thanks
Dave Foster
\x1a
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-05-28 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-28 4:00 gcc link problem on khoros dfoster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox