hi
little problem exist to compil e17 on opensolaris
1/ ETK
e17/libs/etk/src/bin/etk_combobox_test.c file use strcasestr which
doesnt exist on opensolaris. i need to add this line to compil etk
char *strcasestr(register char *s, register char *find)
{
register char c, sc;
register size_t len;
if ((c = *find++) != 0) {
len = strlen(find);
do {
do {
if ((sc = *s++) == 0)
return (NULL);
} while (sc != c);
} while (strncasecmp(s, find, len) != 0);
s--;
}
return ((char *) s);
}
2/ E
to compil e_slider.c file, i need to add --std=c99
gcc -m64 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src/bin
-I../../src/lib -DUSE_E_CONFIG_H -DHAVE_EDBUS -I/opt/e17/include
-I/opt/e17/include/efreet -I/usr/sfw/include -I/usr/include/curl
-I/opt/e17/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/opt/e17/include -I/usr/openwin/include -DLOWRES_PDA=1
-DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6
-DE17_PROFILE=SLOW_PC -DPACKAGE_BIN_DIR=\"/opt/e17//bin\"
-DPACKAGE_LIB_DIR=\"/opt/e17//lib\"
-DPACKAGE_DATA_DIR=\"/opt/e17//share/enlightenment\"
-DLOCALE_DIR=\"/opt/e17//share/locale\"
-DPACKAGE_SYSCONF_DIR=\"/opt/e17//etc\" -g -O2 -fomit-frame-pointer
-pipe -msse -msse2 -msse3 -m3dnow -mmmx -I/opt/e17/include
-I/usr/local/include -I/usr/sfw/include -I/opt/csw/include
-I/usr/include -MT e_slider.o -MD -MP -MF .deps/e_slider.Tpo -c -o
e_slider.o e_slider.c
In file included from
/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/include/stdio.h:54,
from e.h:28,
from e_slider.c:5:
/usr/include/sys/feature_tests.h:357:2: #error "Compiler or options
invalid; UNIX 03 and POSIX.1-2001 applications require the use of
c99"
i hope this comment can help you :)
++
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel