Error building new graphics/libafterimage 1.07

Alexander S. Usov A.S.Usov at kvi.nl
Mon Jun 27 13:33:12 GMT 2005


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.



More information about the freebsd-ports mailing list