helpflvstreamer - Support: sr #107046, Make streams fails

 
 

sr #107046: Make streams fails

Submitted by:  None
Submitted on:  Wed 30 Sep 2009 01:35:59 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: Mac OS

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 30 Sep 2009 01:35:59 PM UTC, original submission:

On Mac OSX, make -f MakefileOSX streams fails with the following error :-

g++ -Wall -arch ppc -arch i386 -D_FILE_OFFSET_BITS=64 -c -o streams.o streams.cpp
streams.cpp: In function 'void processTCPrequest(STREAMING_SERVER*, int)':
streams.cpp:678: error: 'MSG_NOSIGNAL' was not declared in this scope
streams.cpp: In function 'void processTCPrequest(STREAMING_SERVER*, int)':
streams.cpp:678: error: 'MSG_NOSIGNAL' was not declared in this scope
streams.cpp:697: error: 'MSG_NOSIGNAL' was not declared in this scope
streams.cpp:697: error: 'MSG_NOSIGNAL' was not declared in this scope
lipo: can't figure out the architecture type of: /var/tmp//ccF7rHNn.out
make: *** [streams.o] Error 1

This is due to MSG_NOSIGNAL not existing in OSX. The solution is generally to set SOL_NOSIGPIPE as one of the socket options with setsockopt()

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup