Hello,
having troubles with some port builds (x11vnc as example, package build runs fine) after upgrading from FressBSD 6.4 to 7.2 (both RELEASE) producing segmentation fault 11 on launch (they build fine, looks like a thread problem, pthread maybe related), I did clean old headers in /usr/include with a
then did a
I then added missing headers by hand from /usr/src/sys/ (/usr/src/sys/i386/include/ and /usr/src/sys/sys/ when errors popped out. After 3 successfully recover (copying header files from /usr/src/sys/ to /usr/include), I thought that I just could copy all files and did a global copy.
but graphics/libglut still does not want to compile chocking on wchar.h
So I guess, it doesn't like the wchar.h I just put in, then I noticed there is a Makefile in /usr/src/include so I 'cd' to it and did a
now libglut is passing the previous error, but… my /usr/include/ should be pretty messy, is there a simple way to recover from this ?
note :
I did add my CPUTYPE in make.conf after the 7.2 upgrade (it was not set previously), rebuilt the kernel and all ports.
having troubles with some port builds (x11vnc as example, package build runs fine) after upgrading from FressBSD 6.4 to 7.2 (both RELEASE) producing segmentation fault 11 on launch (they build fine, looks like a thread problem, pthread maybe related), I did clean old headers in /usr/include with a
Code:
find /usr/include/ -mtime +60 | xargs rm -r
Code:
portupgrade -af
Code:
cp /usr/src/sys/sys/* /usr/include/
cp /usr/src/sys/i386/* /usr/include/
Code:
/usr/local/include/X11/Xlib.h:1123: error: expected specifier-qualifier-list before 'wchar_t'
/usr/local/include/X11/Xlib.h:1282: error: expected specifier-qualifier-list before 'wchar_t'
/usr/local/include/X11/Xlib.h:1316: error: expected specifier-qualifier-list before 'wchar_t'
/usr/local/include/X11/Xlib.h:3678: warning: type defaults to 'int' in declaration of 'wchar_t'
/usr/local/include/X11/Xlib.h:3678: error: expected ';', ',' or ')' before '*' token
Code:
make install
note :
I did add my CPUTYPE in make.conf after the 7.2 upgrade (it was not set previously), rebuilt the kernel and all ports.