Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

-current's /usr/include/sys/lwp.h causes compile problems in pkgsrc



Hi!

-current's actual /usr/include/sys/lwp.h produces problems when
compiling several pkgsrc packages, e. g. pkgsrc/www/seamonkey:

  cc -o prsystem.o -c -fvisibility=hidden   -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/python2.5 -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/python2.5 -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -ansi -Wall -pthread -O2 -fPIC -DPIC  -UDEBUG  
-DMOZILLA_CLIENT=1 -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 
-DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -DNETBSD=1 -DHAVE_BSD_FLOCK=1 
-DHAVE_SOCKLEN_T=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1  -DFORCE_PR_LOG 
-D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ 
-I/usr/obj/pkg/www/seamonkey/work.x86_64/comm-1.9.1/mozilla/dist/include/nspr 
-I../../../pr/include -I../../../pr/include/private  prsystem.c
  In file included from /usr/include/sys/proc.h:83,
                   from /usr/include/sys/sysctl.h:46,
                   from prsystem.c:62:
  /usr/include/sys/lwp.h:200: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'void'
  make[6]: *** [prsystem.o] Error 1
  make[6]: Leaving directory 
``/usr/obj/pkg/www/seamonkey/work.x86_64/comm-1.9.1/mozilla/nsprpub/pr/src/misc'
  make[5]: *** [export] Error 2

Anybody knows how to solve this?

Markus.


Home | Main Index | Thread Index | Old Index