- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,everyone.I have ported Dillo2 on my DE2-70 with uclinux,Although</SPAN></SPAN> there is still some problems.
dillo2 need: libjpeg libpng libiconv microwindows nxlib-0.45 fltk2 libjpeg、libpng、microwindows、nxlib are already in nios2-linux-20090730.tar。 Libiconv:http://www.gnu.org/software/libiconv/ Libiconv port on nios may meet the problem(machine 'nios2' not recognized). I don`t want to spend too much words on it,Anyone who wants to know how to fix it,plz give me a e-mail(pc21820002000@yahoo.com.cn). FLTK2: CFLAGS="-G 0 –I /mynios/nios2-linux/uclinux/staging/usr/include" CXXFLAGS="-G 0 –I /mynios/nios2-linux/uclinux/staging/usr/include /.." LDFLAGS="-s –L /mynios/nios2-linux/uclinux/staging/usr/lib –elf2flt" ./configure --host=nios2-linux-uclibc --target= nios2-linux-uclibc –disable-shared --with-x --disable-gl --disable-cygwin --x-includes=../ --x-libraries= /mynios/nios2-linux/uclinux/staging/usr/lib --cache-file=/dev/null modify fltk2-xonfig and makeinclude replace all -lXi –lXext into -lX11 -lnano-X then make (maybe still some problems in nxlib, find stub.c in your nxlib,and use mine instead?) DILLO2: find libz.a libiconv.a libfltk2.a and move them to /usr/local/lib Modify configure { echo "$as_me:$LINENO: checking FLTK2" >&5 echo $ECHO_N "checking FLTK2... $ECHO_C" >&6; } if sh -c "$FLTK2_CONFIG --version" >/dev/null 2>&1 then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } LIBFLTK_CXXFLAGS=`$FLTK2_CONFIG --cxxflags` LIBFLTK_CFLAGS=`$FLTK2_CONFIG --cflags` LIBFLTK_LIBS=`$FLTK2_CONFIG --use-images --ldflags` else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } { { echo "$as_me:$LINENO: error: FLTK2 must be installed!" >&5 echo "$as_me: error: FLTK2 must be installed!" >&2;} { (exit 1); exit 1; }; } fi Replace all fork into unfork FLTK2_CONFIG=/fltk2/fltk2-config PNG_CONFIG=/mynios/nios2-linux/uclinux/lib/libpng/libpng-config LDFLAG=”-elf2flt” ./configure --host=nios2-linux-uclibc --target= nios2-linux-uclibc --cache-file=/dev/null OK,now,have fun~~ ^_^Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page