Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 11:48:06 -0700 (PDT)
From:      Tom Martin <tmartin@wiltecinc.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38354: xlockmore-5.03 port won't build
Message-ID:  <200205201848.g4KIm6UC075063@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         38354
>Category:       ports
>Synopsis:       xlockmore-5.03 port won't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 20 11:50:11 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tom Martin
>Release:        4.6-RC
>Organization:
Wiltec Technologies, Inc.
>Environment:
FreeBSD MiniDell.direcpc.com 4.6-RC FreeBSD 4.6-RC #3: Thu May 16 21:56:16 EDT 2002     tig@MiniDell.direcpc.com:/usr/obj/usr/src/sys/MINIDELL  i386

>Description:
The "xlockmore" port won't compile.  The source appears to have a dependency on the Xdpms library, but this library does not appear on the required compiling command(s) -- a paste of the offending line follows:

c++ -O -pipe -o ../xlock/xlock ../xlock/xlock.o ../xlock/passwd.o ../xlock/resource.o ../xlock/parsecmd.o  ../xlock/util.o ../xlock/logout.o ../xlock/mode.o ../
xlock/xlockimage.o ../xlock/ras.o ../xlock/xbm.o  ../xlock/vis.o ../xlock/visgl.o ../xlock/color.o ../xlock/random.o ../xlock/iostuff.o ../xlock/automata.o  ../
xlock/spline.o ../xlock/sound.o ../xlock/erase.o ../xlock/magick.o  ../xlock/vtlock.o ../xlock/vtlock_proc.o  ant.o apollonian.o ball.o bat.o blot.o  bouboule.o bounce.o braid.o bubble.o bug.o  clock.o coral.o crystal.o  daisy.o dclock.o decay.o deco.o demon.o  dilemma.o discrete.o dragon.o drift.o euler2d.o eyes.o  fadeplot.o flag.o flame.o flow.o forest.o  galaxy.o goop.o grav.o  helix.o hop.o hyper.o  ico.o ifs.o image.o juggle.o julia.o kaleid.o kumppa.o  laser.o life.o life1d.o life3d.o  lightning.o lisa.o lissie.o loop.o lyapunov.o  mandelbrot.o marquee.o matrix.o maze.o  mountain.o munch.o nose.o  pacman.o penrose.o petal.o polyominoes.o puzzle.o pyro.o  qix.o roll.o rotor.o  scooter.o shape.o sierpinski.o slip.o  space.o sphere.o spiral.o spline.o  star.o starfish.o strange.o swarm.o swirl.o  t3d.o tetris.o thornbird.o tik_tak.o  triangle.o tube.o turtle.o  vines.o voters.o  wator.o wire.o world.o worm.o xcl.o xjack.o   solitare.o     bomb.o blank.o random.o    -Wl,-!
 R/usr/lib:/usr/X11R6/lib:/usr/X11R6/lib:/usr/local/lib:/usr/X11R6/lib:/usr/lib   -L/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib  -lSM -lICE    -pthread -lXpm -lttf  -lcrypt -lX11 -lXext -lm 
../xlock/xlock.o: In function `SetDPMS':
../xlock/xlock.o(.text+0x1bf): undefined reference to `DPMSQueryExtension'
../xlock/xlock.o(.text+0x1ec): undefined reference to `DPMSGetTimeouts'
../xlock/xlock.o(.text+0x223): undefined reference to `DPMSSetTimeouts'
../xlock/xlock.o(.text+0x278): undefined reference to `DPMSSetTimeouts'
../xlock/xlock.o: In function `monitor_powered_on_p':
../xlock/xlock.o(.text+0x29f): undefined reference to `DPMSQueryExtension'
../xlock/xlock.o(.text+0x2af): undefined reference to `DPMSCapable'
../xlock/xlock.o(.text+0x2c7): undefined reference to `DPMSInfo'
*** Error code 1

>How-To-Repeat:
Compile from the port.  :)  
>Fix:
Although not an elegant fix, the problem can be bypassed by attempting to build normally.  After the compile fails, modify the work/xlockmore-5.03/modes/Makefile to include the required library (a diff follows).  Re-issue the "make" command and the port will build.  Install normally...

MiniDell# diff work/xlockmore-5.03/modes/Makefile work/xlockmore-5.03/modes/Makefile.fixed
323c323
< XLOCKLIBS = $(MODULELIB) -L/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib  -lSM -lICE    -pthread -lXpm -lttf  -lcrypt -lX11 -lXext -lm
---
> XLOCKLIBS = $(MODULELIB) -L/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib  -lSM -lICE    -pthread -lXpm -lttf  -lcrypt -lX11 -lXext -lm -lXdpms

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205201848.g4KIm6UC075063>