Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!hplchm!cjames From: cjames@hplchm.HP.COM (Craig James) Newsgroups: comp.sys.hp Subject: Re: S.O.S. LISP and Starbase problem. Message-ID: <1390005@hplchm.HP.COM> Date: 12 Apr 89 20:43:41 GMT References: <204@goya.dit.upm.es> Organization: HP Labs Chemical Systems Dept, Palo Alto Lines: 16 > The order of the libraries used when loading them on the LISP > environment must be the next one (using the LISP command): > (load-foreign-libraries nil '("-lc" "-ldd300h" "-lsb1" "-lsb2" "-lwindow")) You say that when linked and run from C, the graphics program works; could you show us the "cc ..." or "ld ..." line used to actually link the program? (For example, run make(1) if you're using it, and copy the exact "cc..." line make(1) produces.) Another suggestion: (load-foreign-libraries nil '("-ldd300h" "-lsb1" "-lsb2" "-lwindow" "-lc")) The C library loaded by "-lc" is the most fundamental library, and I believe it should always be loaded last. Craig James, Hewlett-Packard Laboratories, Palo Alto, California