I guess I have a question and a comment:
Q: What is the minimal libraries I need for VLC compatibility? I want a small footprint.
C: I am using opensolaris 10 - the compiler and linker that comes with it. If anybody can suggest something for me to try I am willing to give it a shot.
Here is the error:
cd testProgs ; make
make[1]: Entering directory `/export/home/shewless/Downloads/live/testProgs'
c++ -otestMP3Streamer -L. testMP3Streamer.o ../liveMedia/libliveMedia.a ../groupsock/libgroupsock.a ../BasicUsageEnvironment/libBasicUsageEnvironment.a ../UsageEnvironment/libUsageEnvironment.a
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x25a0: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x25d4: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x2c00: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x2c34: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x362c: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x74fc: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x7994: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x79c8: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x18344: relocation requires reference symbol
collect2: ld returned 1 exit status
make[1]: *** [testMP3Streamer] Error 1
make[1]: Leaving directory `/export/home/shewless/Downloads/live/testProgs'
make: *** [all] Error 2
make[1]: Entering directory `/export/home/shewless/Downloads/live/testProgs'
c++ -otestMP3Streamer -L. testMP3Streamer.o ../liveMedia/libliveMedia.a ../groupsock/libgroupsock.a ../BasicUsageEnvironment/libBasicUsageEnvironment.a ../UsageEnvironment/libUsageEnvironment.a
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x25a0: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x25d4: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x2c00: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x2c34: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x362c: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x74fc: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x7994: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x79c8: relocation requires reference symbol
ld: fatal: relocation error: R_386_32: file .rel.eh_frame: section: ../liveMedia/libliveMedia.a: offset: 0x18344: relocation requires reference symbol
collect2: ld returned 1 exit status
make[1]: *** [testMP3Streamer] Error 1
make[1]: Leaving directory `/export/home/shewless/Downloads/live/testProgs'
make: *** [all] Error 2
-------- Original Message --------
Subject: Re: [Live-devel] opensolaris_live555_compile_problem_-_ld
:_fatal:_relocation_error:_R_386_32:
From: Ross Finlayson <[email protected]>
Date: Sun, October 04, 2009 6:42 pm
To: LIVE555 Streaming Media - development & use
<[email protected]>
>If I comment out the following lines, I can compile successfully:
>
>
># cd $(TESTPROGS_DIR) ; $(MAKE)
># cd $(MEDIA_SERVER_DIR) ; $(MAKE)
>
>Does anybody know if I need test progs and media_server if I am
>using the live555 libraries to compile VLC??
No, you don't need those if you're developing your own application,
because those directories are for applications themselves.
But I'd rather find the real solution to your problem rather than
just papering over it. I.e., is there something wrong with the
current "config.solaris-32bit" that needs to be changed to get those
applications (in "testProgs/" and "mediaServer/") to compile and
link? If so, why has noone else reported this problem?
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
