Troubleshooting
Problem
When rebuilding the C language OXF framework with IBM Rational Rhapsody, you might experience this build error, "conflicting types for 'select'" or when trying to build/simulate your C language project you might observe multiple linker errors reporting missing Rhapsody OXF framework symbols.
Symptom
When rebuilding the C language OXF framework with IBM Rational Rhapsody, you might experience this build error:
In file included from /usr/include/w32api/windows.h:92:0,
from ../oxf/RiCOSNT.h:25,
from ../osconfig/cygwin/RiCOS.h:22,
from ../oxf/RiCOSWrap.h:26,
from aombrk.c:29:
/usr/include/w32api/winsock.h:299:34: error: conflicting types for 'select'
WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
^
In file included from /usr/include/sys/types.h:68:0,
from /usr/include/stdio.h:61,
from aombrk.c:21:
/usr/include/sys/select.h:73:5: note: previous declaration of 'select' was here
int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
^
make[1]: *** [cygwinaom.mak:31: aombrk.o] Error 1
make[1]: Leaving directory '/cygdrive/c/Rhapsody8.1.4/Share/LangC/aom'
make: *** [cygwinbuild.mak:28: aomlibs] Error 2
Or when you try to build/simulate your C language project you may observe multiple linker errors reporting missing Rhapsody OXF framework symbols:
/cygdrive/c/Rhapsody8.1.3/Samples/CSamples/Dishwasher/DefaultComponent_Cygwin/Release/MainDefaultComponent_Cygwin.c:25: undefined reference to `RiCOXFInit'
/cygdrive/c/Rhapsody8.1.3/Samples/CSamples/Dishwasher/DefaultComponent_Cygwin/Release/MainDefaultComponent_Cygwin.c:25:(.text+0x73): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `RiCOXFInit'
/cygdrive/c/Rhapsody8.1.3/Samples/CSamples/Dishwasher/DefaultComponent_Cygwin/Release/MainDefaultComponent_Cygwin.c:30: undefined reference to `RiCOXFStart'
/cygdrive/c/Rhapsody8.1.3/Samples/CSamples/Dishwasher/DefaultComponent_Cygwin/Release/MainDefaultComponent_Cygwin.c:30:(.text+0x86): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `RiCOXFStart'
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21990096