sonthonaxrk / tsdemuxer

Automatically exported from code.google.com/p/tsdemuxer
Other
1 stars 0 forks source link

Will not compile on OSX #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run Make

Error returned is:
tsdemux.cpp:146: error: expected `)' before ‘?’ token

I suspect that this is due to a typefef, possibly in sys/types.h(?) that is 
incompatible or missing.

What is the expected output? What do you see instead?
Successful Compile

What version of the product are you using? On what operating system?
OSX 10.5.7

Please provide any additional information below.

Original issue reported on code.google.com by coveredw...@gmail.com on 16 Jun 2009 at 1:56

GoogleCodeExporter commented 9 years ago
I'll understand if your reply is simply "Hey I didn't intend it to work on OSX" 
and that's cool. I just thought I'd 
throw it out there because those Windows folks got support. ;-)

Original comment by coveredw...@gmail.com on 16 Jun 2009 at 1:57

GoogleCodeExporter commented 9 years ago
OK I did some more digging and verified that all of the types in were 
available. Everything looked A-OK, so I 
started tearing apart line 146 piece by piece to see what the issue was. Turns 
out that gcc doesn't like the inline 
function's name. Weird! I've never seen that before. With tsdemux.cpp open in 
'vi' I ran this:

:%s/ntohs/wtf_gcc/g

After I changed all occurences of ntohs to something else it compiled without 
error. Weird indeed.

Original comment by coveredw...@gmail.com on 16 Jun 2009 at 1:26

GoogleCodeExporter commented 9 years ago
Hi, try content of 'v1.5' subfolder. This is new version.

Original comment by clark...@gmail.com on 23 Jul 2009 at 2:40

GoogleCodeExporter commented 9 years ago
I move new sources to root folder.

I try built it on FreeBSD 7.1 - it`s work fine.

Original comment by clark...@gmail.com on 24 Jul 2009 at 10:09