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

 
 

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

Submitter:  None
Submitted:  Sat 14 May 2011 02:55:28 PM UTC
   
 
Category:  build/install Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2011-05-14 None Attached File- Added openexr-strcmp.diff, #23401

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code