[MPlayer-users] MPlayer-0.90pre6 compilation problems

Gábor Lénárt lgb at lgb.hu
Wed Aug 7 14:43:02 CEST 2002


On Wed, Aug 07, 2002 at 01:51:10PM +0200, Gansser, Martin wrote:
> collect2: ld returned 1 exit status
> gmake: *** [mplayer] Error 1
> 
> prounix_root:/users/mgansser/GNU/MPlayer-0.90pre6 #
> 
> any help ?

Yes. Try to find out the location of setenv() [ie: which library contains it]
Or just see libvo/vo_sdl.c:

#if     defined(sun) && defined(__svr4__)
/* setenv is missing on solaris */
static void setenv(const char *name, const char *val, int _xx)
{
    int len  = strlen(name) + strlen(val) + 2;
    char *env = malloc(len);

    if (env != NULL) {
        strcpy(env, name);
        strcat(env, "=");
        strcat(env, val);
        putenv(env);
    }
}
#endif

You only need to add HPUX, since it seems HPUX does not know setenv() either ...


- Gábor (larta'H)




More information about the MPlayer-users mailing list