pkgsrc-Users archive

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

Re: xpdf build error: conflicts with new declaration with 'C' linkage



On Wed, 1 Aug 2007 15:51:05 -0500 (CDT)
"Jeremy C. Reed" <reed%reedmedia.net@localhost> wrote:

> c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 
> -DHAVE_CONFIG_H -DPREFIX="\"/usr/pkg\"" -I.. -I./../goo -I./../fofi 
> -I./../splash -I. -I/usr/pkg/include/freetype2       -I/usr/pkg/include   
> -I/usr/pkg/include -DHAVE_XPDFCORE -c -o SecurityHandler.x.o  
> SecurityHandler.cc
> /home/packages/tmp-pkgsrc/print/xpdf/work.glacier/.buildlink/include/X11/VendorP.h:87:
>  error: previous declaration of 'VendorShellClassRec vendorShellClassRec' 
> with 'C++' linkage
> /home/packages/tmp-pkgsrc/print/xpdf/work.glacier/.buildlink/include/Xm/VendorSP.h:58:
>  error: conflicts with new declaration with 'C' linkage
> *** Error code 1
> 
> Stop.
> 
> My VendorP.h is from libXt-1.0.5
> 
> My VendorSP.h is from lesstif-0.95.0
> 
> This is on NetBSD/i386 3.99.24
> 
>   Jeremy C. Reed
> 
> p.s. I didn't research this yet ...


It is supposed to be fixed with this commit:
http://mail-index.netbsd.org/pkgsrc-changes/2007/06/26/0010.html
Please try nb1 of lesstif and let me know if it still doesn't work.

-Tobias




Home | Main Index | Thread Index | Old Index