Re: Now ON TOPIC, libGL.so, libMesaGL.so on missing list of F8 repo's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 23 July 2008, dexter wrote:
>On Wed July 23 2008 04:06:58 Gene Heskett wrote:
>> That seems to be faad2 now, but I didn't have the -devel installed.
>> But that was from faac, and I didn't have that -devel installed either.
>>
>> Humm, I have added the /opt/gmerlin/lib directory to a gmerlin.conf file
>> in /etc/ld.so.conf.d, and I'm running ldconfig after yum installs each of
>> these -devel packages, but the above faac* errors aren't going away.  This
>> is using the faac stuff from livna.
>
>I ended up patching neaacdec.h from the faad2-devel to get rid of theses
>errors in another project but it should work here also, include this in
>neaacdec.h:
>
>/* MACROS FOR BACKWARDS COMPATIBILITY */
>/* structs */
>#define faacDecHandle                  NeAACDecHandle
>#define faacDecConfiguration           NeAACDecConfiguration
>#define faacDecConfigurationPtr        NeAACDecConfigurationPtr
>#define faacDecFrameInfo               NeAACDecFrameInfo
>/* functions */
>#define faacDecGetErrorMessage         NeAACDecGetErrorMessage
>#define faacDecSetConfiguration        NeAACDecSetConfiguration
>#define faacDecGetCurrentConfiguration NeAACDecGetCurrentConfiguration
>#define faacDecInit                    NeAACDecInit
>#define faacDecInit2                   NeAACDecInit2
>#define faacDecInitDRM                 NeAACDecInitDRM
>#define faacDecPostSeekReset           NeAACDecPostSeekReset
>#define faacDecOpen                    NeAACDecOpen
>#define faacDecClose                   NeAACDecClose
>#define faacDecDecode                  NeAACDecDecode
>#define AudioSpecificConfig            NeAACDecAudioSpecificConfig
>
>For some reason Freshrpms (which I use as a base for my stuff) & also I
> assume livna patch these defines out.
>
>...dex

There appears to be precisely the inverse of that already there, labeled:

#if 1
/* MACROS FOR FORWARD COMPATIBILITY */
/* structs */
#define NeAACDecHandle                  faacDecHandle
#define NeAACDecConfiguration           faacDecConfiguration
#define NeAACDecConfigurationPtr        faacDecConfigurationPtr
#define NeAACDecFrameInfo               faacDecFrameInfo
/* functions */
#define NeAACDecGetErrorMessage         faacDecGetErrorMessage
#define NeAACDecSetConfiguration        faacDecSetConfiguration
#define NeAACDecGetCurrentConfiguration faacDecGetCurrentConfiguration
#define NeAACDecInit                    faacDecInit
#define NeAACDecInit2                   faacDecInit2
#define NeAACDecInitDRM                 faacDecInitDRM
#define NeAACDecPostSeekReset           faacDecPostSeekReset
#define NeAACDecOpen                    faacDecOpen
#define NeAACDecClose                   faacDecClose
#define NeAACDecDecode                  faacDecDecode
#define NeAACDecAudioSpecificConfig     AudioSpecificConfig
#endif

As I understand code, that looks like I should ifdef it out, but I'll try for 
effects first before I replace the 1 with a 0, thanks Dex.

And while its slightly different, the end result is the same:

gcc -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wl,--rpath -Wl,/opt/gmerlin/lib -o .libs/bgavdump 
bgavdump.o  ../lib/.libs/libgmerlin_avdec.so -L/usr/local/lib /usr/local/lib/libgavl.so
/usr/lib/libavcodec.so.51: undefined reference to `faacDecDecode'
/usr/lib/libavcodec.so.51: undefined reference to `faacDecInit2'
/usr/lib/libavcodec.so.51: undefined reference to `faacDecClose'
/usr/lib/libavcodec.so.51: undefined reference to `faacDecOpen'
/usr/lib/libavcodec.so.51: undefined reference to `faacDecSetConfiguration'
/usr/lib/libavcodec.so.51: undefined reference to `faacDecInit'
/usr/lib/libavcodec.so.51: undefined reference to 
`faacDecGetCurrentConfiguration'
/usr/lib/libavcodec.so.51: undefined reference to `faacDecGetErrorMessage'
collect2: ld returned 1 exit status
make[1]: *** [bgavdump] Error 1
make[1]: Leaving directory 
`/opt/gmerlin-all-in-one-20080715/gmerlin_avdecoder/gmerlin-avdecoder-0.1.8/tests'
make: *** [all-recursive] Error 1
Compilation in gmerlin_avdecoder failed

I saw the word failed go by once in the middle of all that, so I'm running the 
buildall.sh to a logfile so grep can find it.  But that all takes time, so I'll 
go ahead and submit this for further comments.

Thanks.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
You're always thinking you're gonna be the one that makes 'em act different.
		-- Woody Allen, "Manhattan"

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux