pkgsrc-Bugs archive

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

pkg/38647: Problem with obex.h (comms/openobex) header

>Number:         38647
>Category:       pkg
>Synopsis:       Problem with obex.h (comms/openobex) header
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 06:15:00 +0000 2008
>Originator:     Hasso Tepper
>Release:        DragonFly
DragonFly 1.13.0-DEVELOPMENT
Code including both bluetooth.h and obex.h can not be compiled, for example 

/scratch/comms/libsyncml/work/.buildlink/include/openobex/obex.h:56: error: 
conflicting types for 'bdaddr_t'
/usr/include/netbt/bluetooth.h:57: error: previous declaration of 'bdaddr_t' 
was here

The problem is that bdaddr_t typedef in obex.h is masked for Linux (bluez) 
stack, but not for NetBSD stack.
Try to compile some code including both including bluetooth.h and obex.h on 
platform using NetBSD bluetooth stack - NetBSD, OpenBSD or DragonFly.
The patch to fix the problem is available at

Home | Main Index | Thread Index | Old Index