I have a newly installed freebsd system and have only added x11 and the nvidia drivers. I can get into X so naturally I want a web browser such as chromium. Unfortunately, I'm not able to build the chromium port because of errors building libpci (I think). Here's the output:
/usr/include/runetype.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
/usr/include/runetype.h: In function '__getCurrentRuneLocale':
/usr/include/runetype.h:96: error: '_ThreadRuneLocale' undeclared (first use in this function)
/usr/include/runetype.h:96: error: (Each undeclared identifier is reported only once
/usr/include/runetype.h:96: error: for each function it appears in.)
init.c: In function 'pci_generic_error':
init.c:97: warning: implicit declaration of function 'exit'
init.c:97: warning: incompatible implicit declaration of built-in function 'exit'
gmake[1: *** [init.o] Error 1
In file included from access.c:10:
/usr/include/stdlib.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gmake:
/usr/include/stdlib.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gmake:
gmake: *** [dump.o] Error 1
gmake: *** [access.o] Error 1
gmake: Leaving directory '/usr/ports/devel/libpci/work/pciutils-3.2.0/lib'
gmake: ***[lib/libpci.a] Error 2
Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=YES and rebuild before reporting the failure to the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/devel/libpci.
*** [lib-depends] Error code 1
Stop in /usr/ports/www/chromium.
*** [install] Error code 1.
You'll have to excuse me because I typed it out by hand. I also got the latest kernel source from svn when building nvidia. I made sure to update my ports and check for errors before I built anything.