From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Qingjuan Gu Newsgroups: gmane.os.tru64.managers Subject: Error: /usr/bin/ld: Unresolved on tru64 V5.1 Date: Fri, 21 Jun 2002 14:08:40 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200206211408.AA26214710@wistar.upenn.edu> Reply-To: qingjuan@wistar.upenn.edu NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024683469 19256 127.0.0.1 (21 Jun 2002 18:17:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2002 18:17:49 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17LSyi-00050T-00 for ; Fri, 21 Jun 2002 20:17:48 +0200 Original-Received: (qmail 26240 invoked by uid 5); 21 Jun 2002 18:17:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 26232 invoked from network); 21 Jun 2002 18:17:52 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 21 Jun 2002 18:17:52 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GY200D5CITQER@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Jun 2002 14:17:51 -0400 (EDT) Original-Received: from wistar.upenn.edu (mail.wistar.upenn.edu [130.91.8.79]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GY200DAVITPOD@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Jun 2002 14:17:50 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Xref: main.gmane.org gmane.os.tru64.managers:653 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:653 Hello, I am trying to install hp2xx on Tru64 V5.1, when I 'make all', I got this error message: gcc -DUNIX -DHAS_UNIX_X11 -DPNG -c -O2 -Wall -ansi -fstrength-reduce -finline-functions -I. lindef.c rm -f to_x11.o gcc -DUNIX -DHAS_UNIX_X11 -DPNG -c -O2 -Wall -ansi -fstrength-reduce -finline-functions -I. to_x11.c rm -f png.o gcc -DUNIX -DHAS_UNIX_X11 -DPNG -c -O2 -Wall -ansi -fstrength-reduce -finline-functions -I. png.c rm -f to_png.o gcc -DUNIX -DHAS_UNIX_X11 -DPNG -c -O2 -Wall -ansi -fstrength-reduce -finline-functions -I. to_png.c gcc hp2xx.o hpgl.o picbuf.o bresnham.o chardraw.o getopt.o getopt1.o to_vec.o to_pcx.o to_pcl.o to_eps.o to_img.o to_pbm.o to_rgip.o std_main.o to_fig.o clip.o fillpoly.o pendef.o lindef.o to_x11.o png.o to_png.o -lX11 -lm -o hp2x x /usr/bin/ld: Unresolved: png_create_write_struct png_create_info_struct png_destroy_write_struct png_init_io png_set_filter png_set_compression_level png_set_compression_mem_level png_set_compression_strategy png_set_compression_window_bits png_set_compression_method png_set_IHDR png_malloc png_set_PLTE png_write_info png_set_packing png_write_image png_write_end collect2: ld returned 1 exit status *** Exit 1 Stop. athena.wistar.upenn.edu> Here is mt Makefile: # Utilities etc.: # SHELL = /bin/sh CHMOD = chmod CP = cp MKINFO = makeinfo RMCMD = rm -f STRIP = strip # Installation sites (GNU conventions): prefix = /usr/local bindir = $(prefix)/bin includedir = $(prefix)/include mandir = $(prefix)/man man1dir = $(mandir)/man1 infodir = $(prefix)/info # CC and CFLAGS set for gcc, but any ANSI-C compiler should work. # For non-gcc compilers, simply set CFLAGS = -O (to start with) # CC = gcc CFLAGS = -O2 -m486 -I/usr/X11R6/include $(DEFINES) $(EX_DEFS) -Wall -pedantic -Wuninitialized -Wunused -Wreturn-type -Wmiss ing-prototypes -Wstrict-prototypes #CFLAGS = +O1 -Aa -D_HPUX_SOURCE -DSYSV -I/usr/include/X11R5 -I/usr/include/X11R4 $(DEFINES) LFLAGS = -L/usr/X11R6/lib # only sometimes needed; see below for examples CPPFLAGS = -I. # only sometimes needed; see below for examples BINDCMD = # only needed for EMX and DJGPP DOS extenders # and/or -ltiff for TIFF # DEFINES = -DUNIX -DHAS_UNIX_X11 PREVIEWER = to_x11 #ALL_LIBS = -L/usr/lib/X11R6 -lpng -ltiff -ljpeg -lz -lX11 -lm ALL_LIBS = -L/usr/lib/X11R6 -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib/X11 -ljpeg -lpng -lz -lX11 -lm ... I have tried cc, gcc, gunmake, make, it did not work at all, does anybody have good idea? Thank you very much. Grace