Problem with compilation of last libaacs: commit 863e0a50ed9ee7b9bf4695a74bc4d607d12a67ff
root@workstation: ./bootstrap - OK root@workstation: ./configure - OK But when I run make, I got this error: ... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -I.. -Ifile -Ilibaacs -g -O2 -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -O3 -fomit-frame-pointer -MT mmc.lo -MD -MP -MF .deps/mmc.Tpo -c libaacs/mmc.c -fPIC -DPIC -o .libs/mmc.o libaacs/mmc.c: In function ‘mmc_open’: libaacs/mmc.c:862: error: implicit declaration of function ‘realpath’ make[3]: *** [mmc.lo] Error 1 make[3]: Leaving directory `/mnt/stuff/softs/sources/vlcCompile/libaacs/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/stuff/softs/sources/vlcCompile/libaacs/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/stuff/softs/sources/vlcCompile/libaacs' make: *** [all] Error 2 and this is mmc.c : .... #ifdef HAVE_REALPATH char *file_path = malloc(PATH_MAX); if (!file_path || !realpath(path, file_path)) { DEBUG(DBG_MMC | DBG_CRIT, "Failed resolving path %s\n", path); X_FREE(mmc); X_FREE(file_path); return NULL; } #else char *file_path = (char*)malloc(strlen(path) + 1); strcpy(file_path, path); #endif .... I'm not the best in programing, but I try search the declaration of 'realpath' function, and I can not find it. Maybe this is a problem, the lack of definition and declaration of this function? Could someone helps me ? Best regards Kamil _______________________________________________ libaacs-devel mailing list libaacs-devel@videolan.org http://mailman.videolan.org/listinfo/libaacs-devel