From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4d6fbecf6f07502a,start X-Google-Attributes: gidfee84,public From: Claudio Strizzolo Subject: PGPLOT graphics library on DU Date: 1999/01/12 Message-ID: <369B0331.167E@trieste.infn.it>#1/1 X-Deja-AN: 431573955 Content-Transfer-Encoding: 7bit Organization: INFN Test NEWS server Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hello, is there any user of PGPLOT graphics library, who can help me to compile and link a C program which invokes PGPLOT routines on Digital Unix (4.0a, if that matters)? I tried these things (see Appendix C of the documentation), but they all failed: # cc -I/usr/local+/pgplot -L/usr/local+/pgplot -lcpgplot -lpgplot -o ctest ctest.c (it says: Unresolved: cpgbeg cpgend cpgenv cpglab cpgline cpgpt even if the cpgplot library is currently reached and it contains the items). # cc -c -I/usr/local+/pgplot ctest.c (tried also with gcc) # f77 -o ctest ctest.o -L/usr/local+/pgplot -lcpgplot -lpgplot -lX11 -lgcc -lm (it complains about a lot of stuff missing, in particular something called MAIN, all uppercase). # cc -c -I/usr/local+/pgplot ctest.c # cc -o ctest ctest.o -L/usr/local+/pgplot -lcpgplot -lpgplot -lX11 (complains about a lot of stuff missing) Compiling and linking from F77 work correctly. Any hints? Thanks in advance Claudio (Claudio.Strizzolo@ts.infn.it)