Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ODIN.NRC.CA!SERRER From: SERRER@ODIN.NRC.CA (Martin Serrer) Newsgroups: comp.sys.sgi Subject: HELP needed with ld. Message-ID: <645C7AC34A5F002497@NRCNET.NRC.CA> Date: 6 Jun 91 21:25:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 43 Hi, I've been using Mark Overmars EXCELLENT, FORMS library but have run into a snag. I want to replace the 'fl_show_input' gadget with the 'fl_show_file_selector' gadget as you can see in the code below but ld gives a Warning that I don't understand. I've been using the 'fl_show_file_selector' gadget successfully in other code. I'd RTFM if I could find the appropriate section. --------------------------begin code fragment--------------------------------- void cb_changeModel(obj,dummy) FL_OBJECT *obj; long dummy; { char *txx; startStop_state = FALSE; initModel(Model); /* strcpy( Model->modelfile, fl_show_input("Model file :","")); */ txx = fl_show_file_selector("Select MODEL file:", "./", "*.model", ""); strcpy( Model->modelfile, txx); -----------------------------end code fragment-------------------------------- -----------------------------begin ld messages-------------------------------- thor:/usr/people/serrer/mas/odl % make cc -s mas.o -o mas ODL.a /usr/local/lib/libforms.a -lfm_s -lsphere -lgl_s -lc_s -lm -lmalloc /usr/bin/ld: Warning: jump relocation out-of-range, bad object file produced, can't jump from 0x4098c0 to 0x1000326c (stat) Warning: jump relocation out-of-range, bad object file produced, can't jump from 0x409c60 to 0x1000326c (stat) Warning: jump relocation out-of-range, bad object file produced, can't jump from 0x41c7d0 to 0x1000326c (stat) Warning: jump relocation out-of-range, bad object file produced, can't jump from 0x41c820 to 0x1000326c (stat) -------------------------------end ld messages--------------------------------- What does this mean?? PLEASE help. Thanks in advance... Martin +-----------------------------------------------------------------------------+ | Martin Serrer Bldg.M32, Montreal Rd. | | 613-993-9442 National Research Council of Canada,| | Martin.Serrer@nrc.ca Ottawa, Ontario, Canada K1A-0R6 | +------------------- Software Rusts, Rust never Sleeps -----------------------+