pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40711: print/ja-vfxdvik needs LDFLAGS -lm on Solaris
>Number: 40711
>Category: pkg
>Synopsis: print/ja-vfxdvik needs LDFLAGS -lm on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 21 17:00:00 +0000 2009
>Originator: KAWAKUBO Hiroshi
>Release: pkgsrc-current on Solaris 10
>Organization:
>Environment:
SunOS XXX 5.10 Generic_137138-09 i86pc i386 i86pc
>Description:
print/ja-vfxdvik fails to compile on Solaris 10 with the following error:
gcc -o vfxdvi.bin -L/usr/pkg/gcc34/lib/gcc/i386-pc-solaris2.10/3.4.6
-Wl,-R/usr/pkg/gcc34/lib/gcc/i386-pc-solaris2.10/3.4.6 -L/usr/pkg/gcc34/lib
-Wl,-R/usr/pkg/gcc34/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/gcc34/lib/gcc/i386-pc-solaris2.10/3.4.6/ -L/usr/lib -Wl,-R/usr/lib
-L/usr/openwin/lib -Wl,-R/usr/openwin/lib xdvi.o dvi-draw.o dvi-init.o events.o
font-open.o string-utils.o my-snprintf.o my-vsnprintf.o help-window.o
message-window.o statusline.o xserver-info.o gf.o pk.o psdps.o psgs.o
psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o sfPath.o sfSelFile.o
hypertex.o mime.o wwwfetch.o zeit.o dnpzeit.o toc.o markpage.o markring.o
print.o paper.o tategaki.o vfontmap.o vf2ft.o alloca.o dvips.o tfmload.o
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip
-lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime
-lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux
-lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -ln
sl -lsocket -lz -L/usr/pkg/lib -lssl -lcrypto -Wl,-R/usr/pkg/lib -lt1
-L/usr/openwin/lib -R/usr/openwin/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11
-lsocket -lnsl -lVFlib2 -lttf ../kpathsea/STATIC/libkpathsea.a
Undefined first referenced
symbol in file
cos special.o (symbol belongs to implicit
dependency /usr/lib/libm.so.2)
pow events.o (symbol belongs to implicit
dependency /usr/lib/libm.so.2)
sin special.o (symbol belongs to implicit
dependency /usr/lib/libm.so.2)
atan special.o (symbol belongs to implicit
dependency /usr/lib/libm.so.2)
sqrt special.o (symbol belongs to implicit
dependency /usr/lib/libm.so.2)
floor special.o (symbol belongs to implicit
dependency /usr/lib/libm.so.2)
ld: fatal: Symbol referencing errors. No output written to vfxdvi.bin
collect2: ld returned 1 exit status
gmake: *** [vfxdvi.bin] Error 1
*** Error code 2
>How-To-Repeat:
>Fix:
Add LDFLAGS.SunOS+=-lm to the Makefile.
Please note that LIBS.SunOS+=-lm has no effect due to patch-aa.
Home |
Main Index |
Thread Index |
Old Index