|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems . The Solaris OS is now owned by Oracle. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Conflicting 'typedef' error - Which gcc switch to use?
I am using gcc3.3.5 on solaris2.7. Its a 64 bit compilation
I am compiling a file 'plugin.cpp'. It includes mach.h and the complation gives the following error. ----------------------------------------------------------------- mach.h error: conflicting types for `typedef vx_u32_t off32_t' /usr/include/sys/types32.h:30: error: previous declaration as `typedef int32_t off32_t' ------------------------------------------------------------ I cant remove mach.h, neither i can edit the file mach.h Is there any particular switch/flag which can resolve the conflicting 'typedef' error The flags i am using are - /usr/local/gcc/3.3.5/bin/gcc -c -fpermissive -fno-gnu-keywords -DXTFUNCPROTO -Usun -xildoff -fPIC -m64 -xchip=ultra -xarch=v9 -xnone -DLGTO_LP64 -g -DIDENT -DALT_ORIGIN=\"../lib/nsr\" -DDM_SOLARIS -D_POSIX_PTHREAD_SEMANTICS -DASYNC_IO -DNSR_POSIX4_ASYNC_IO -Dsolaris -DRELEASE_27 -DDM_BUILD=\"tmp\" -DHSM_SERVER -D__lgto ndmp__ -DSNMP_SUPPORT -DENABLERS -DSTL_SUPPORT -DSTL_CLIENT_SUPPORT -DOPENVAULT_SUPPORT -Dsolaris64 |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to typedef | krishna_sicsr | High Level Programming | 1 | 06-01-2007 12:04 AM |
| why does my program runs in conflicting mode? | happylife365 | HP-UX | 2 | 07-17-2006 11:32 PM |
| switch from csh to ksh | veeracer | Shell Programming and Scripting | 8 | 11-05-2004 02:13 PM |
| Error with ifconfig when attempting to switch to 10baseT | tkarrde | IP Networking | 1 | 08-09-2002 06:31 PM |
| can you switch | neer45 | Shell Programming and Scripting | 3 | 12-05-2001 08:54 PM |