building instructions for solaris added
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@64 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
864d3db0ad
commit
8625298899
51
README
51
README
@ -1,4 +1,4 @@
|
|||||||
Linux* SDK for UPnP* Devices (libupnp)
|
Portable SDK for UPnP* Devices (libupnp)
|
||||||
|
|
||||||
Copyright (c) 2000-2003 Intel Corporation - All Rights Reserved.
|
Copyright (c) 2000-2003 Intel Corporation - All Rights Reserved.
|
||||||
Copyright (c) 2005-2006 Rémi Turboult <r3mi@users.sourceforge.net>
|
Copyright (c) 2005-2006 Rémi Turboult <r3mi@users.sourceforge.net>
|
||||||
@ -22,8 +22,8 @@ sections:
|
|||||||
1) Release Contents
|
1) Release Contents
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
The Linux SDK for UPnP Devices is an SDK for development of UPnP device
|
The Portable SDK for UPnP Devices is an SDK for development of UPnP device
|
||||||
and control point applications for Linux. It consists of the core UPnP
|
and control point applications. It consists of the core UPnP
|
||||||
protocols along with a UPnP-specific eXtensible Markup Language (XML) parser
|
protocols along with a UPnP-specific eXtensible Markup Language (XML) parser
|
||||||
supporting the Document Object Model (DOM) Level 2 API and an optional,
|
supporting the Document Object Model (DOM) Level 2 API and an optional,
|
||||||
integrated mini web server for serving UPnP related documents.
|
integrated mini web server for serving UPnP related documents.
|
||||||
@ -32,7 +32,7 @@ integrated mini web server for serving UPnP related documents.
|
|||||||
2) Package Contents
|
2) Package Contents
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
The Linux SDK for UPnP Devices contains the following:
|
The SDK for UPnP Devices contains the following:
|
||||||
|
|
||||||
README This file. Contains the installation and build instructions.
|
README This file. Contains the installation and build instructions.
|
||||||
LICENSE The licensing terms the SDK is distributed under.
|
LICENSE The licensing terms the SDK is distributed under.
|
||||||
@ -55,11 +55,10 @@ upnp\sample A sample device and control point application, illustrating the
|
|||||||
3) System Requirements
|
3) System Requirements
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
The SDK for UPnP Devices is designed to compile and run under the
|
The SDK for UPnP Devices is designed to compile and run under several
|
||||||
Linux operating system. It does, however, have dependencies on some
|
operating systems. It does, however, have dependencies on some
|
||||||
packages that may not be installed by default. All packages that it
|
packages that may not be installed by default. All packages that it
|
||||||
requires are listed below. The name of the package and where it can be
|
requires are listed below.
|
||||||
found is dependent on the distribution of Linux being used.
|
|
||||||
|
|
||||||
libpthread The header and library are installed as part of the glibc-devel
|
libpthread The header and library are installed as part of the glibc-devel
|
||||||
package (or equivalent).
|
package (or equivalent).
|
||||||
@ -83,7 +82,7 @@ ps2pdf The final step to making the PDF is converting the PostStript
|
|||||||
into Portable Document Format. The ghostscript package provides
|
into Portable Document Format. The ghostscript package provides
|
||||||
this tool.
|
this tool.
|
||||||
|
|
||||||
For the UPnP library to function correctly, Linux networking must be configured
|
For the UPnP library to function correctly, networking must be configured
|
||||||
properly for multicasting. To do this:
|
properly for multicasting. To do this:
|
||||||
|
|
||||||
route add -net 239.0.0.0 netmask 255.0.0.0 eth0
|
route add -net 239.0.0.0 netmask 255.0.0.0 eth0
|
||||||
@ -93,14 +92,6 @@ this addition, device advertisements and control point searches will not
|
|||||||
function.
|
function.
|
||||||
|
|
||||||
|
|
||||||
libupnp has been built and tested on the following configurations:
|
|
||||||
|
|
||||||
* MandrakeLinux 10.1 (kernel 2.6.8.1-12mdk, gcc 3.4.1, glibc-2.3.3)
|
|
||||||
|
|
||||||
* Ubuntu 5.10 "Breezy Badger" (Linux kernel 2.6.12-9-386, gcc 4.0.2 20050808
|
|
||||||
prerelease, libc6 2.3.5-1ubuntu12)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
4) Build Instructions
|
4) Build Instructions
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
@ -169,7 +160,7 @@ To build without:
|
|||||||
% make
|
% make
|
||||||
|
|
||||||
|
|
||||||
The SDK for Linux also contains some additional helper APIs, declared in
|
The SDK also contains some additional helper APIs, declared in
|
||||||
inc/tools/upnptools.h. If these additional tools are not required, they can
|
inc/tools/upnptools.h. If these additional tools are not required, they can
|
||||||
be compiled out:
|
be compiled out:
|
||||||
|
|
||||||
@ -249,6 +240,25 @@ sub-directory. Example :
|
|||||||
% ../../upnp_tv_device
|
% ../../upnp_tv_device
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SOLARIS BUILD
|
||||||
|
|
||||||
|
The building process for the Solaris operating system is similar to the one
|
||||||
|
described above. Only the call to ./configure has to be done using an
|
||||||
|
additional parameter:
|
||||||
|
|
||||||
|
./configure CFLAGS="-mcpu=<cputype> -mtune=<cputype> -DSPARC_SOLARIS"
|
||||||
|
|
||||||
|
where <cputype> has to be replaced by the appropriate CPU tuning flag (e.g.
|
||||||
|
"supersparc"). Afterwards
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
can be called as described above.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
WINDOWS BUILD
|
WINDOWS BUILD
|
||||||
|
|
||||||
In order to build libupnp under Windows the pthreads-w32 package is required.
|
In order to build libupnp under Windows the pthreads-w32 package is required.
|
||||||
@ -304,9 +314,8 @@ See NEWS file.
|
|||||||
8) Support and Contact Information
|
8) Support and Contact Information
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
Intel is not providing support for the Linux SDK for UPnP Devices. Two
|
Intel is not providing support for the SDK for UPnP Devices. Mailing lists
|
||||||
mailing lists for the SDK are available on http://upnp.sourceforge.net/.
|
and discussion boards can be found at http://www.libupnp.org/.
|
||||||
Questions and problems should be addressed on the appropriate mailing list.
|
|
||||||
|
|
||||||
If you find this SDK useful, please send an email to upnp@intel.com and let
|
If you find this SDK useful, please send an email to upnp@intel.com and let
|
||||||
us know.
|
us know.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user