Re: Now ON TOPIC,, 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/, 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
>/* 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.

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

#if 1
/* 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

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/ -L/usr/local/lib /usr/local/lib/
/usr/lib/ undefined reference to `faacDecDecode'
/usr/lib/ undefined reference to `faacDecInit2'
/usr/lib/ undefined reference to `faacDecClose'
/usr/lib/ undefined reference to `faacDecOpen'
/usr/lib/ undefined reference to `faacDecSetConfiguration'
/usr/lib/ undefined reference to `faacDecInit'
/usr/lib/ undefined reference to 
/usr/lib/ undefined reference to `faacDecGetErrorMessage'
collect2: ld returned 1 exit status
make[1]: *** [bgavdump] Error 1
make[1]: Leaving directory 
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 to a logfile so grep can find it.  But that all takes time, so I'll 
go ahead and submit this for further comments.


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
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux