POV-Ray : Newsgroups : povray.unix : Compiling 3.5 source on Linux also fails : Re: Compiling 3.5 source on Linux also fails Server Time
28 Jul 2024 16:17:00 EDT (-0400)
  Re: Compiling 3.5 source on Linux also fails  
From: Joshua Nye
Date: 2 Aug 2002 13:34:54
Message: <3d4ac2be$1@news.povray.org>
oops... wrong name in my news settings. doh!

--josh

"Dan" <dan### [at] yahoocom> wrote in message news:3d4ac246$1@news.povray.org...
> Open up src/Makefile and find this line:
>
> LDFLAGS = -static -I/usr/X11R6/include
> (could be a bit different but the LDFLAGS is the important line)
>
> change it to:
>
> LDFLAGS = -static -I/usr/X11R6/include -ldl
> (note: added -ldl)
>
> Try that and see if it works.
>
> --josh
>
> "Sebastian H." <seb### [at] webde> wrote in message
> news:3D4### [at] webde...
> > > Thanx for releasing the sources anyway !!
> > Yes thanks, too.
> >
> > But I got an other problem here.
> > When compiling without any optimization (just ./configure, make)
> > I got:
> >
> > g++  `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -static
> > -I/usr/X11R6/include -o povray  atmosph.o bbox.o bcyl.o benchmark.o
> > bezier.o blob.o boxes.o bsphere.o camera.o chi2.o colour.o colutils.o
> > cones.o csg.o discs.o express.o file_pov.o fncode.o fnintern.o
> > fnpovfpu.o fnsyntax.o fpmetric.o fractal.o function.o gif.o gifdecod.o
> > hcmplx.o hfield.o histogra.o iff.o image.o interior.o isosurf.o
> > jpeg_pov.o lathe.o lbuffer.o lightgrp.o lighting.o matrices.o media.o
> > mesh.o normal.o objects.o octree.o optin.o optout.o parse.o parsestr.o
> > parstxtr.o pattern.o pgm.o photons.o pigment.o planes.o png_pov.o
> > point.o poly.o polygon.o polysolv.o pov_mem.o povms.o povmscpp.o
> > povmsend.o povmsrec.o povray.o pov_util.o ppm.o prism.o quadrics.o
> > quatern.o rad_data.o radiosit.o ray.o render.o renderio.o sor.o
> > spheres.o sphsweep.o splines.o statspov.o super.o targa.o texture.o
> > tiff_pov.o tokenize.o torus.o triangle.o truetype.o txttest.o userdisp.o
> > userio.o vbuffer.o vlbuffer.o warps.o unix.o povxlib.o -L/usr/X11R6/lib
> > -ltiff -ljpeg -lpng -lz -lm  -lX11
> > /usr/X11R6/lib/libX11.a(XlcDL.o): In function `try_both_dlsym':
> > XlcDL.o(.text+0x111): undefined reference to `dlsym'
> > XlcDL.o(.text+0x136): undefined reference to `dlsym'
> > /usr/X11R6/lib/libX11.a(XlcDL.o): In function `open_object':
> > XlcDL.o(.text+0x60e): undefined reference to `dlopen'
> > /usr/X11R6/lib/libX11.a(XlcDL.o): In function `close_object':
> > XlcDL.o(.text+0x684): undefined reference to `dlclose'
> > collect2: ld returned 1 exit status
> > make[1]: *** [povray] Fehler 1
> >
> > Please don't kill me I'am no programmer but can anyone give me a hint?
> > (When using --without-x I get even more errors...)
> >
> > Sebastian H.
> >
> >
> >
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.