Error building new graphics/libafterimage 1.07

Alexander S. Usov A.S.Usov at kvi.nl
Mon Jun 27 13:59:11 GMT 2005


Alexander S. Usov wrote:

> 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:

Hm, it looks like a more general problem for me. As an example I have the
same problem upgrading new vlc (note the location of included vlc.h).
Removing old vlc port beforehad solved the problem.
Any ideas what can be the cause of it?

=========== skipped ==========
gmake[4]: Entering directory
`/usr/ports/multimedia/vlc/work/vlc-0.8.2/modules/access'
if cc -DHAVE_CONFIG_H -I. -I. -I../..  
-I/usr/ports/multimedia/vlc/work/vlc-0.8.2/include/vlc/
-I/usr/X11R6/include/wx-2.6/ -I/usr/local/include -I/usr/X11R6/include 
-DSYS_FREEBSD5_4 -I../../include `top_builddir="../.." ../../vlc-config
--cflags plugin access_file` -Wsign-compare -Wall -O2 -pipe -march=pentium4
-O2 -ffast-math -fomit-frame-pointer -pthread -pipe -MT
libaccess_file_plugin_a-file.o -MD -MP -MF
".deps/libaccess_file_plugin_a-file.Tpo" \
  -c -o libaccess_file_plugin_a-file.o `test -f 'file.c' || echo
'./'`file.c; \
then mv -f ".deps/libaccess_file_plugin_a-file.Tpo"
".deps/libaccess_file_plugin_a-file.Po"; \
else rm -f ".deps/libaccess_file_plugin_a-file.Tpo"; exit 1; \
fi
In file included from ../../include/vlc_common.h:1054,
                 from /usr/X11R6/include/vlc/vlc.h:128,
                 from file.c:27:
../../include/variables.h: In function `__var_CreateGetInteger':
../../include/variables.h:435: error: `VLC_VAR_INTEGER' undeclared (first
use in this function)
../../include/variables.h:435: error: (Each undeclared identifier is
reported only once
../../include/variables.h:435: error: for each function it appears in.)
../../include/variables.h: In function `__var_CreateGetBool':
../../include/variables.h:452: error: `VLC_VAR_BOOL' undeclared (first use
in this function)
../../include/variables.h: In function `__var_CreateGetTime':
../../include/variables.h:469: error: `VLC_VAR_TIME' undeclared (first use
in this function)
======= more errors like this =========

-- 
Best regards,
  Alexander.



More information about the freebsd-ports mailing list