Closed Bug 204298 Opened 22 years ago Closed 22 years ago

IPC don't build on BeOS

Categories

(Core Graveyard :: Profile: BackEnd, defect)

Other
BeOS
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 204177

People

(Reporter: sergei_d, Assigned: mozbugs-build)

Details

mozilla/ipc/ipcd/client/src: ipcTransport.cpp: In method `nsresult ipcTransport::QueryInterface(const nsIID &, void **)': ipcTransport.cpp:344: `nsISocketEventHandler' undeclared (first use this function) ipcTransport.cpp:344: (Each undeclared identifier is reported only once ipcTransport.cpp:344: for each function it appears in.) ipcTransport.cpp:344: template argument 1 is invalid ipcTransport.cpp:344: parse error before `*' ipcTransport.cpp:344: confused by earlier errors, bailing out make[1]: *** [ipcTransport.o] Error 1 03-05-2003 sources
changing component
Component: Build Config → Profile Manager BackEnd
adding to 204177 *** This bug has been marked as a duplicate of 204177 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
c++ -o ipcTransportUnix.o -c -DOSTYPE=\"BeOS5.0\" -DOSARCH=\"BeOS\" -I/swap/BEOS/mozilla/ipc/ipcd/client/src/../ ../shared/src -I/swap/BEOS/mozilla/ipc/ipcd/client/src/../../extensions/lock/src -I../../../../dist/include/xpc om -I../../../../dist/include/string -I../../../../dist/include/necko -I../../../../dist/include/ipcd -I../../.. /../dist/include -I/boot/home/dbg-i586-pc-beos/dist/include/nspr -I/usr/X11/include -fPIC -I/usr/X11/inc lude -frtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ct or-dtor-privacy -Wno-multichar -pedantic -Wno-long-long -pipe -DNDEBUG -DTRIMMED -I/usr/X11/include -DMOZILLA_ CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/ipcTransportUnix.pp /swap/BEOS/mozilla/ipc/ipcd/clien t/src/ipcTransportUnix.cpp /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: In method `nsresult ipcTransport::PlatformInit()': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:78: `union PRNetAddr' has no member named `local' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:78: `union PRNetAddr' has no member named `local' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:80: `union PRNetAddr' has no member named `local' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: In function `nsresult ipcWriteMessage(class nsIOutp utStream *, void *, char *, unsigned int, unsigned int, PRUint32 *)': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:94: warning: unused variable `enum PRStatus rv' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: In method `nsresult ipcTransport::SendMsg_Internal( class ipcMessage *)': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:116: no matching function for call to `nsDerivedSafe <nsISocketTransportService>::PostEvent (ipcTransport *, {anonymous enum}, int, ipcMessage *&)' /boot/home/dbg-i586-pc-beos/dist/include/necko/nsISocketTransportService.h:87: candidates are: nsISocketTranspor tService::PostEvent(nsISocketEventHandler *, unsigned int, unsigned int, void *) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:119: `mOutputStream' undeclared (first use this func tion) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:119: (Each undeclared identifier is reported only on ce /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:119: for each function it appears in.) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:131: warning: control reaches end of non-void functi on `ipcTransport::SendMsg_Internal(ipcMessage *)' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: In method `nsresult ipcTransport::Connect()': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:150: no matching function for call to `nsDerivedSafe <nsISocketTransportService>::PostEvent (ipcTransport *, {anonymous enum}, int, int)' /boot/home/dbg-i586-pc-beos/dist/include/necko/nsISocketTransportService.h:87: candidates are: nsISocketTranspor tService::PostEvent(nsISocketEventHandler *, unsigned int, unsigned int, void *) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:153: `CreateTransport' undeclared (first use this fu nction) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:165: `mInputStream' undeclared (first use this funct ion) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:168: `mReceiver' undeclared (first use this function ) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:175: warning: control reaches end of non-void functi on `ipcTransport::Connect()' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: In method `nsresult ipcTransport::Disconnect()': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:187: no matching function for call to `nsDerivedSafe <nsISocketTransportService>::PostEvent (ipcTransport *, {anonymous enum}, int, int)' /boot/home/dbg-i586-pc-beos/dist/include/necko/nsISocketTransportService.h:87: candidates are: nsISocketTranspor tService::PostEvent(nsISocketEventHandler *, unsigned int, unsigned int, void *) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:191: `mTransport' undeclared (first use this functio n) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:194: `mInputStream' undeclared (first use this funct ion) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:195: `mOutputStream' undeclared (first use this func tion) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:198: warning: control reaches end of non-void functi on `ipcTransport::Disconnect()' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: At top level: /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:203: no `void ipcTransport::OnConnectionLost(unsigne d int)' member function declared in class `ipcTransport' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:221: no `nsresult ipcTransport::CreateTransport()' m ember function declared in class `ipcTransport' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: In method `nsresult ipcTransport::CreateTransport() ': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:230: `mTransport' undeclared (first use this functio n) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:236: `mOutputStream' undeclared (first use this func tion) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:241: `mInputStream' undeclared (first use this funct ion) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp: At top level: /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:247: no `nsresult ipcTransport::GetSocketPath(class nsACString &)' member function declared in class `ipcTransport' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcTransportUnix.cpp:277: no `nsresult ipcTransport::OnSocketEvent(unsign ed int, unsigned int, void *)' member function declared in class `ipcTransport' make[1]: *** [ipcTransportUnix.o] Error 1
QA Contact: granrose → timeless
Just so everyone knows, I have an "almost" fully completed BeOS port based on BMessages for this. It is a LOT simpler than either of the Unix or Windows variants. I just need to finish off the daemon, and do some testing.
c++ -o ipcSocketProviderUnix.o -c -DOSTYPE=\"BeOS5.0\" -DOSARCH=\"BeOS\" -I/swap/BEOS/mozilla/ipc/ipcd/client/sr c/../../shared/src -I/swap/BEOS/mozilla/ipc/ipcd/client/src/../../extensions/lock/src -I../../../../dist/includ e/xpcom -I../../../../dist/include/string -I../../../../dist/include/necko -I../../../../dist/include/ipcd -I../ ../../../dist/include -I/boot/home/dbg-i586-pc-beos/dist/include/nspr -I/usr/X11/include -fPIC -I/usr/X1 1/include -frtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -W no-ctor-dtor-privacy -Wno-multichar -pedantic -Wno-long-long -pipe -DNDEBUG -DTRIMMED -I/usr/X11/include -DMOZ ILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/ipcSocketProviderUnix.pp /swap/BEOS/mozilla/ipc/ ipcd/client/src/ipcSocketProviderUnix.cpp /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp: In function `enum PRStatus ipcIOLayerConnect(s truct PRFileDesc *, const union PRNetAddr *, unsigned int)': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp:73: `union PRNetAddr' has no member named `loca l' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp:73: `AF_UNIX' undeclared (first use this functi on) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp:73: (Each undeclared identifier is reported onl y once /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp:73: for each function it appears in.) /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp:74: `union PRNetAddr' has no member named `loca l' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp:74: `union PRNetAddr' has no member named `loca l' /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp: In method `nsresult ipcSocketProviderUnix::New Socket(const char *, int, const char *, int, struct PRFileDesc **, class nsISupports **)': /swap/BEOS/mozilla/ipc/ipcd/client/src/ipcSocketProviderUnix.cpp:144: `AF_UNIX' undeclared (first use this funct ion) make[1]: *** [ipcSocketProviderUnix.o] Error 1
Like I said, BeOS will NOT be using the Unix socket implementation for IPC. So, we don't need to worry about failures in the build for any of the ipc*Unix.* files.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.