Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google site



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.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-18-2006
Registered User
 

Join Date: Sep 2006
Posts: 5
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0