From owner-freebsd-isp Thu May 11 9:34:25 2000 Delivered-To: freebsd-isp@freebsd.org Received: from richard2.pil.net (richard2.pil.net [207.8.164.9]) by hub.freebsd.org (Postfix) with SMTP id F2AAC37B574 for ; Thu, 11 May 2000 09:34:21 -0700 (PDT) (envelope-from up@3.am) Received: (qmail 57890 invoked by uid 1825); 11 May 2000 16:34:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 May 2000 16:34:19 -0000 Date: Thu, 11 May 2000 12:34:19 -0400 (EDT) From: X-Sender: up@richard2.pil.net To: "Carlos M. Gutierrez" Cc: FreeBSD ISP List Subject: Re: gd library woes... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org disregard previous email. Out of frustration, I had installed an older "gif friendly" version of gd, and then a later png version. It appears the header files were for the former, and I was then trying to build the new png version of webalizer . Dunno why that didn't find the png headers, but I just reinstalled the gif version of webalizer with the flags you suggested, and it worked. On Thu, 11 May 2000, Carlos M. Gutierrez wrote: > > > On Thu, 11 May 2000 up@3.am wrote: > > > gcc -L/usr/local/include -o webalizer webalizer.o graphs.o -lgd -lz -lm > > Just a wild guess, but perhaps you need a: > > -L/usr/local/lib > > and need to change -L/usr/local/include to -I/usr/local/include > > where is libgd installed? can the compiler find it there? > > cheers, > > Carlos M. Gutierrez > carlos@gutierrez.com > > -- > > WEPA! Search Puerto Rico! o 2,500+ Web Sites > http://www.wepa.com o 500+ Channels > o 30,000+ Pages Indexed > Puerto Rico's Internet Portal o Chat > ...since 1996 o Discussion Forums > o Free E-Mail > o Local News > > > graphs.o: In function `year_graph6x': > > graphs.o(.text+0xce6): undefined reference to `gdImagePng' > > graphs.o: In function `month_graph6': > > graphs.o(.text+0x1a4d): undefined reference to `gdImagePng' > > graphs.o: In function `day_graph3': > > graphs.o(.text+0x2083): undefined reference to `gdImagePng' > > graphs.o: In function `pie_chart': > > graphs.o(.text+0x25fd): undefined reference to `gdImagePng' > > *** Error code 1 > > > > Stop. > > > > Damn, it appears to be looking in the correct place for the header files, > > etc, but it just ain't working... > > > > James Smallacombe PlantageNet, Inc. CEO and Janitor > > up@3.am http://3.am > > ========================================================================= > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > > James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message