[Matroska-users] Compiling on solaris

Steve Lhomme steve.lhomme at free.fr
Thu Sep 23 11:48:20 CEST 2004


Does Solaris have inttypes.h and sys/types.h ?
Could you attach them here so that we can see what are the intXX_t names 
on this platform ?

In libebml/ebml/c/libebml_t I see :
#else	/* DJGPP -> anything else */
#include <sys/types.h>
#if defined(sun) && (defined(__svr4__) || defined(__SVR4)) // SOLARIS
     typedef uint64_t u_int64_t;
     typedef uint32_t u_int32_t;
     typedef uint16_t u_int16_t;
     typedef uint8_t  u_int8_t;
#endif // SOLARIS

Maybe we need to include your system in there ? But then what is the 
compilation variable to use (internal to the compiler) ? __svr10__ ?

Thanks in advance.

Brian Eller a écrit :

> I posted this message previously,
> however I was unable to provide the compile error messages
> this is on a SUN ultra 10 running Solaris 9 4/04 s9s_u6wos_08a SPARC 
> (from /etc/release)
> 
> -thanks in advance
> --brian
> 
> BUILDING EBML:
> /software/libmatroksa/libebml-0.7.1/make/linux
> 
>> make
> 
> g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow    
> -I/software/libmatroksa/libebml-0.7.1/make/linux/../.. -o 
> /software/libmatroksa/libebml-0.7.1/make/linux/../../src/Debug.o 
> /software/libmatroksa/libebml-0.7.1/make/linux/../../src/Debug.cpp
> g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow    
> -I/software/libmatroksa/libebml-0.7.1/make/linux/../.. -o 
> /software/libmatroksa/libebml-0.7.1/make/linux/../../src/EbmlBinary.o 
> /software/libmatroksa/libebml-0.7.1/make/linux/../../src/EbmlBinary.cpp
> In file included from 
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/EbmlTypes.h:39,
>                 from 
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/EbmlBinary.h:42,
>                 from 
> /software/libmatroksa/libebml-0.7.1/make/linux/../../src/EbmlBinary.cpp:39:
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/c/libebml_t.h:97: 
> error: `int64_t' does not name a type
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/c/libebml_t.h:102: 
> error: `u_int64_t' does not name a type
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/c/libebml_t.h:103: 
> error: `u_int32_t' does not name a type
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/c/libebml_t.h:104: 
> error: `u_int16_t' does not name a type
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/c/libebml_t.h:105: 
> error: `u_int8_t' does not name a type
> /software/libmatroksa/libebml-0.7.1/make/linux/../../ebml/c/libebml_t.h:110: 
> error: `uint8' does not name a type



More information about the Matroska-users mailing list