Date: Mon, 27 Jun 2005 15:32:12 +0200 From: "Alexander S. Usov" <A.S.Usov@kvi.nl> To: freebsd-ports@freebsd.org Subject: Error building new graphics/libafterimage 1.07 Message-ID: <d9ounn$1ea$1@sea.gmane.org>
next in thread | raw e-mail | index | archive | help
Hi! I can't upgrade to new libafterimage on FreeBSD 5.4-STABLE It looks that the problem is that the libpath is passed in incorrect order and "-L/usr/X11R6/lib" comes before "-L../" which causes problems when linking for example asview: .... skipped ...... cc asview.o common.o -L/usr/local/lib -L/usr/X11R6/lib -L../ -lAfterImage -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -ltiff -lX11 -L/usr/X11R6/lib -lSM -lICE -lXext -ljpeg -lpng -lz -lm -lX11 -L/usr/X11R6/lib -lSM -lICE -lXext -o asview asview.o(.text+0x60): In function `main': : undefined reference to `asim_set_application_name' asview.o(.text+0xa4): In function `main': : undefined reference to `dpy' asview.o(.text+0x183): In function `main': : undefined reference to `asim_show_warning' .... a lot of undefined references skipped .... -- Best regards, Alexander.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9ounn$1ea$1>