bugOpenEXR - Bugs: bug #33311, 'strcmp' was not declared in this...

 
 

bug #33311: 'strcmp' was not declared in this scope

Submitted by:  None
Submitted on:  Sat 14 May 2011 02:55:28 PM UTC  
 
Category: build/installSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 14 May 2011 02:55:28 PM UTC, original submission:

building openexr 1.6.1 fails with the below error(s).
The attached patch fixes it for me.

This is on Solaris11 express on amd64 using gcc 4.5.2

gmake[1]: Entering directory `/home/test/packages/BUILD/openexr-1.6.1/exrmaketiled'
if /usr/gcc/4.5/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../IlmImf -I../config -I/opt/kde4/include/OpenEXR -pipe -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.cpp: In function 'int main(int, char**)':
main.cpp:213:28: error: 'strcmp' was not declared in this scope

gmake[1]: Entering directory `/home/test/packages/BUILD/openexr-1.6.1/exrenvmap'
if /usr/gcc/4.5/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../IlmImf -I../config -I/opt/kde4/include/OpenEXR -pipe -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.cpp: In function 'int main(int, char**)':
main.cpp:195:28: error: 'strcmp' was not declared in this scope

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #23401:  openexr-strcmp.diff added by None (550B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sat 14 May 2011 02:55:28 PM UTCNoneAttached File-=>Added openexr-strcmp.diff, #23401

Back to the top


Powered by Savane 3.1-cleanup