Sun 24 Aug 2008 06:54:53 PM UTC, original submission:
g++ -DHAVE_CONFIG_H -I. -I../.. -DPLUGIN_TRACE -DXP_UNIX -I. -I./include -I../../libbase -I/usr/X11R6/include -I/usr/include -I/sw/include/gstreamer-0.10 -I/sw/include -I/sw/include -g -O2 -D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -c npn_gate.cpp -fno-common -DPIC -o .libs/npn_gate.o
In file included from ./include/prcpucfg.h:22,
from ./include/prtypes.h:39,
from ./include/npapi.h:26,
from npplat.h:31,
from npn_gate.cpp:23:
./include/prcpucfg-glibc.h:695:2: error: #error "Unknown CPU architecture"
In file included from ./include/npapi.h:26,
from npplat.h:31,
from npn_gate.cpp:23:
./include/prtypes.h:267:2: error: #error No suitable type for PRInt8/PRUint8
./include/prtypes.h:292:2: error: #error No suitable type for PRInt16/PRUint16
./include/prtypes.h:324:2: error: #error No suitable type for PRInt32/PRUint32
./include/prtypes.h:387:2: error: #error 'sizeof(int)' not sufficient for platform use
./include/prtypes.h:410: error: 'PRInt32' does not name a type
./include/prtypes.h:441: error: 'PRIntn' does not name a type
./include/prtypes.h:451: error: 'PRUint8' does not name a type
./include/obsolete/protypes.h:48: error: 'PRUintn' does not name a type
./include/obsolete/protypes.h:50: error: 'PRIntn' does not name a type
./include/obsolete/protypes.h:117: error: 'PRUint32' does not name a type
./include/obsolete/protypes.h:128: error: 'PRUint16' does not name a type
./include/obsolete/protypes.h:136: error: 'PRUint8' does not name a type
./include/obsolete/protypes.h:156: error: 'PRInt32' does not name a type
./include/obsolete/protypes.h:169: error: 'PRInt16' does not name a type
./include/obsolete/protypes.h:179: error: 'PRInt8' does not name a type
./include/npapi.h:203: error: 'int16' does not name a type
./include/npapi.h:204: error: 'int16' does not name a type
./include/npapi.h:230: error: 'uint32' does not name a type
./include/npapi.h:231: error: 'uint32' does not name a type
./include/npapi.h:248: error: 'int32' does not name a type
./include/npapi.h:249: error: 'uint32' does not name a type
./include/npapi.h:256: error: 'int32' does not name a type
./include/npapi.h:263: error: 'uint16' does not name a type
./include/npapi.h:264: error: 'uint16' does not name a type
./include/npapi.h:265: error: 'uint16' does not name a type
./include/npapi.h:266: error: 'uint16' does not name a type
./include/npapi.h:271: error: 'int32' does not name a type
./include/npapi.h:272: error: 'int32' does not name a type
./include/npapi.h:292: error: 'int32' does not name a type
./include/npapi.h:297: error: 'int32' does not name a type
./include/npapi.h:308: error: 'int32' does not name a type
./include/npapi.h:454: error: 'int32' does not name a type
./include/npapi.h:455: error: 'int32' does not name a type
./include/npapi.h:456: error: 'uint32' does not name a type
./include/npapi.h:457: error: 'uint32' does not name a type
./include/npapi.h:482: error: 'uint16' does not name a type
./include/npapi.h:663: error: 'NPError' does not name a type
./include/npapi.h:665: error: 'NPError' does not name a type
./include/npapi.h:668: error: 'NPError' does not name a type
./include/npapi.h:669: error: 'NPError' does not name a type
./include/npapi.h:670: error: 'NPError' does not name a type
./include/npapi.h:673: error: 'NPError' does not name a type
./include/npapi.h:675: error: 'int32' does not name a type
./include/npapi.h:676: error: 'int32' does not name a type
./include/npapi.h:681: error: 'int16' does not name a type
./include/npapi.h:683: error: 'NPReason' has not been declared
./include/npapi.h:687: error: 'NPError' does not name a type
./include/npapi.h:688: error: 'NPError' does not name a type
./include/npapi.h:695: error: 'NPError' does not name a type
./include/npapi.h:697: error: 'NPError' does not name a type
./include/npapi.h:699: error: 'NPError' does not name a type
./include/npapi.h:703: error: 'NPError' does not name a type
./include/npapi.h:706: error: 'NPError' does not name a type
./include/npapi.h:707: error: 'NPError' does not name a type
./include/npapi.h:709: error: 'int32' does not name a type
./include/npapi.h:710: error: 'NPError' does not name a type
./include/npapi.h:713: error: 'uint32' was not declared in this scope
./include/npapi.h:715: error: 'uint32' does not name a type
./include/npapi.h:721: error: 'NPError' does not name a type
./include/npapi.h:722: error: 'NPError' does not name a type
./include/npupp.h:63: error: ISO C++ forbids declaration of 'NPError' with no type
./include/npupp.h:63: error: typedef 'NPError' is initialized (use _typeof_ instead)
./include/npupp.h:63: error: 'NPP_NewUPP' was not declared in this scope
./include/npupp.h:63: error: expected ',' or ';' before '(' token
./include/npupp.h:84: error: 'uint16' has not been declared
./include/npupp.h:91: error: 'NPReason' has not been declared
./include/npupp.h:98: error: ISO C++ forbids declaration of 'int32' with no type
./include/npupp.h:98: error: typedef 'int32' is initialized (use _typeof_ instead)
./include/npupp.h:98: error: 'NPP_WriteReadyUPP' was not declared in this scope
./include/npupp.h:98: error: expected ',' or ';' before '(' token
./include/npupp.h:126: error: ISO C++ forbids declaration of 'int16' with no type
./include/npupp.h:126: error: typedef 'int16' is initialized (use _typeof_ instead)
./include/npupp.h:126: error: 'NPP_HandleEventUPP' was not declared in this scope
./include/npupp.h:126: error: expected ',' or ';' before '(' token
./include/npupp.h:133: error: 'NPReason' has not been declared
./include/npupp.h:180: error: 'uint32' has not been declared
./include/npupp.h:194: error: 'uint32' has not been declared
./include/npupp.h:222: error: 'NPReason' has not been declared
./include/npupp.h:243: error: typedef 'NPN_MemAllocUPP' is initialized (use _typeof_ instead)
./include/npupp.h:243: error: 'uint32' was not declared in this scope
./include/npupp.h:257: error: ISO C++ forbids declaration of 'uint32' with no type
./include/npupp.h:257: error: typedef 'uint32' is initialized (use _typeof_ instead)
./include/npupp.h:257: error: 'NPN_MemFlushUPP' was not declared in this scope
./include/npupp.h:257: error: expected ',' or ';' before '(' token
./include/npupp.h:482: error: 'uint16' does not name a type
./include/npupp.h:483: error: 'uint16' does not name a type
./include/npupp.h:484: error: 'NPP_NewUPP' does not name a type
./include/npupp.h:490: error: 'NPP_WriteReadyUPP' does not name a type
./include/npupp.h:493: error: 'NPP_HandleEventUPP' does not name a type
./include/npupp.h:501: error: 'uint16' does not name a type
./include/npupp.h:502: error: 'uint16' does not name a type
./include/npupp.h:513: error: 'NPN_MemFlushUPP' does not name a type
npn_gate.cpp: In function 'void NPN_Version(int, int, int, int)':
npn_gate.cpp:31: error: 'struct NPNetscapeFuncs' has no member named 'version'
npn_gate.cpp:32: error: 'struct NPNetscapeFuncs' has no member named 'version'
npn_gate.cpp: In function 'NPError NPN_GetURLNotify(NPP_t, const char, const char, void)':
npn_gate.cpp:37: error: 'struct NPNetscapeFuncs' has no member named 'version'
npn_gate.cpp: In function 'NPError NPN_PostURLNotify(NPP_t, const char, const char, uint32, const char, NPBool, void*)':
npn_gate.cpp:56: error: 'struct NPNetscapeFuncs' has no member named 'version'
npn_gate.cpp: In function 'NPError NPN_NewStream(NPP_t, char, const char, NPStream*)':
npn_gate.cpp:81: error: 'struct NPNetscapeFuncs' has no member named 'version'
npn_gate.cpp: In function 'int32 NPN_Write(NPP_t, NPStream, int32, void*)':
npn_gate.cpp:95: error: 'struct NPNetscapeFuncs' has no member named 'version'
npn_gate.cpp: In function 'NPError NPN_DestroyStream(NPP_t, NPStream, NPError)':
npn_gate.cpp:108: error: 'struct NPNetscapeFuncs' has no member named 'version'
npn_gate.cpp: In function 'void* NPN_MemAlloc(uint32)':
npn_gate.cpp:131: error: 'void* NPN_MemAlloc(uint32)' redeclared as different kind of symbol
./include/npapi.h:713: error: previous declaration of 'void* NPN_MemAlloc'
npn_gate.cpp:134: error: '* NPNFuncs._NPNetscapeFuncs::memalloc' cannot be used as a function
npn_gate.cpp: In function 'uint32 NPN_MemFlush(uint32)':
npn_gate.cpp:145: error: 'struct NPNetscapeFuncs' has no member named 'memflush'
make[3]: *** [npn_gate.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
|