[rtmpdump] Building rtmpdump for OS X Snow Leopard 10.6.2 fails

Carl-Johan Sveningsson cj at sveningsson.info
Sat Dec 26 16:18:04 CET 2009


Hi all,

possibly I'm absolutely clueless about this, but when trying to build rtmpdump for OS X it fails, seemingly with a pretty common error. Darwin ports, possibly for this reason, provides only the old rtmpdump-1.4.

I've seen a link that this ( http://lists.apple.com/archives/macnetworkprog/2002/Dec/msg00091.html ) could be related?

Anyhow, I would be very grateful for a fix. Of course I at least think I have all the necessary XCode tools installed.

Best regards
CJ

$ make osx
gcc -Wall -arch ppc -arch i386  -O2   -c -o log.o log.c
gcc -Wall -arch ppc -arch i386  -O2   -c -o rtmp.o rtmp.c
rtmp.c:940: warning: ‘SendBGHasStream’ defined but not used
rtmp.c:1077: warning: ‘SendSeek’ defined but not used
dh.h:197: warning: ‘DHGetPrivateKey’ defined but not used
rtmp.c:940: warning: ‘SendBGHasStream’ defined but not used
rtmp.c:1077: warning: ‘SendSeek’ defined but not used
dh.h:197: warning: ‘DHGetPrivateKey’ defined but not used
gcc -Wall -arch ppc -arch i386  -O2   -c -o amf.o amf.c
In file included from amf.c:27:
bytes.h:52:2: warning: #warning "Byte order not defined on your system, assuming little endian!"
bytes.h:58:2: warning: #warning "Float word order not defined, assuming the same as byte order!"
In file included from amf.c:27:
bytes.h:52:2: warning: #warning "Byte order not defined on your system, assuming little endian!"
bytes.h:58:2: warning: #warning "Float word order not defined, assuming the same as byte order!"
gcc -Wall -arch ppc -arch i386  -O2   -c -o rtmpdump.o rtmpdump.c
gcc -Wall -arch ppc -arch i386  -O2   -c -o parseurl.o parseurl.c
gcc -Wall  log.o rtmp.o amf.o rtmpdump.o parseurl.o -o rtmpdump -lcrypto
ld: warning: in log.o, missing required architecture x86_64 in file
ld: warning: in rtmp.o, missing required architecture x86_64 in file
ld: warning: in amf.o, missing required architecture x86_64 in file
ld: warning: in rtmpdump.o, missing required architecture x86_64 in file
ld: warning: in parseurl.o, missing required architecture x86_64 in file
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [rtmpdump] Error 1
make: *** [osx] Error 2


-- 
Carl-Johan Sveningsson	cj at sveningsson.info	+372 53846767

My nerdy blog -	http://unclecj.blogspot.com
My micro-life - 	http://unclecj.bloggy.se, http://unclecj.jaiku.com, http://twitter.com/unclecj
The best of what I find -	http://feeds2.feedburner.com/unclecjplus
My professional page -	http://www.linkedin.com/in/carljohan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20091226/d6770846/attachment.htm>


More information about the rtmpdump mailing list