**** BEGIN LOGGING AT Sun Jan 15 02:59:58 2006 Jan 15 07:34:48 jbowler-zzz, reading my log: I assumed that for installing os modules I needed ipkg (as these are .ipk files), and they need to come from the kernel build (at least that is my understanding) Jan 15 10:23:09 jbowler-zzz, meanwhile koen in #openslug enlightened me that dpkg could also install ipk files. Added a note to the wiki to that extent Jan 15 12:18:40 i have a problem with kernel-module-rfcomm. it seems it need to be compiled with CONFIG_BLUEZ_RFCOMM_TTY=y instead of =m. My nOOb question is: do I have to build the entire kernel? Jan 15 12:18:59 hah nslu2-german Jan 15 12:18:59 flashen immer ohne Jan 15 12:19:00 sorry Jan 15 12:47:40 hi Jan 15 12:48:31 anyone here who can help me with a package building problem Jan 15 12:48:47 ? Jan 15 12:49:12 morning, maybe, just ask, or better, describe your problem Jan 15 12:49:33 i try building a mldonkey package Jan 15 12:49:56 mldonkey depends on ocaml and ncurses Jan 15 12:50:36 i build both and included them in my make file with ocaml-stage ncurses-stage Jan 15 12:50:51 but wenn i try to compile it i get the folowing error Jan 15 12:53:02 cannot find -lcurses Jan 15 12:55:17 where should curses be installed ? Jan 15 12:56:16 haven't any hint, that can help you, excepting, stay some hours in that channel, anyone may read the logs, and have an solution Jan 15 12:56:47 ok i stay in Jan 15 12:59:50 syksurfer - are you native building or cross-compiling? Jan 15 13:00:11 cross-compiling Jan 15 13:00:29 unslung or openslug Jan 15 13:00:36 unslung Jan 15 13:00:47 mastermakefile? Jan 15 13:01:18 sorry what do mean with it ? Jan 15 13:02:38 are you using monotone/bitbake or the old AddAPackageToUnslung howto? Jan 15 13:03:23 AddAPackageToUnslung Jan 15 13:06:23 well, if I remember correctly, you need to add a dependance to ncurses in your makefile for your target package. It is a bit of a pain but consult another makefile of an application that depends on curses (hmm, nano maybe or ctorrent) and see what they do. It isn't complicated but does need some tiral and error Jan 15 13:07:07 ok i have a lool Jan 15 13:07:13 look Jan 15 13:24:26 i added MLDONKEY_CPPFLAGS=-I$(STAGING_PREFIX)/include/ncurses Jan 15 13:24:26 MLDONKEY_LDFLAGS=-I$(STAGING_PREFIX)/include/ncurses but it shows non effect Jan 15 13:34:18 I recall you also need to list ncurses in an enviromental variable set in the makefile listing all the package dependances Jan 15 13:34:43 Search arround in an example Jan 15 13:39:07 i searched all makefiles for ncurses phrases and added also the path to it to $PATH but no effect Jan 15 13:58:00 skysurfer -- no, there is a variable where you list packages your package depends on Jan 15 13:58:45 look at wget, that depends on several libs Jan 15 13:59:04 MLDONKEY_DEPENDS=ncurses Jan 15 14:00:18 looks good Jan 15 14:00:20 ! Jan 15 14:00:25 i think so Jan 15 14:01:19 i tried to copy past the complete output but my client don't post it Jan 15 14:07:37 SkySurfer: your message said MLDONKEY_LDFLAGS=-I$(STAGING_PREFIX)/include did you really put that in the .mk or did you use -L$(STAGING_PREFIX)/lib Jan 15 14:08:23 it's an I Jan 15 14:08:51 should it be -L$(STAGING_PREFIX)/lib ? Jan 15 14:08:53 Skysurfer: Even better would be to use $(STAGING_LDFLAGS) for MLDONKEY_LDFLAGS Jan 15 14:09:21 -L specifies library dirs, -I is for include dirs Jan 15 14:15:08 i added $(STAGING_LDFLAGS) and also -L$(STAGING_PREFIX)/lib but no effect Jan 15 14:25:42 From the top of your optware build tree type "ls staging/opt/lib/libcurses.*" to see if you have successfully staged curses and the link is failing to find it or if you have failed to stage it Jan 15 14:27:57 it don't find any file Jan 15 14:30:06 Have you remembered to include "$(MAKE) ncurses-stage" in your .configured rule Jan 15 14:30:24 yes it's in Jan 15 14:31:57 Ah - The ncurses lib is called libncurses, not libcurses Jan 15 14:32:12 change the -lcurses to -lncurses Jan 15 14:33:27 SkySurfer, AFAIK optware ocaml is not cross built yet Jan 15 14:34:27 i crosscompiled it and it outputed the ocamlc.opt and so on Jan 15 14:37:20 cool, as a while ago i worked on native 3.08.03 Jan 15 14:37:43 did you need to make any change to make it cross compilable? Jan 15 14:39:33 i only changed to the newer version 3.09.1 Jan 15 14:41:58 that's really good news, off to cross build the new ocaml ... Jan 15 14:43:05 if build the ipkg package already but it still untested Jan 15 14:44:00 i c, that's a very good start already Jan 15 14:44:57 the real test is unison and mldonkey Jan 15 14:45:24 i hope i get mldonkey compiled ;) Jan 15 14:46:28 AdamBaker gave you the right instruction, does it still complain about ncurses? Jan 15 14:48:21 the problem is that i have to change the mldonkey makefile that gets extracted from the source.tar.bz2 so how can i do this ? Jan 15 14:48:24 patch ? Jan 15 14:51:16 yep Jan 15 14:51:55 diff -u makefile.orig makefile > .../sources/mldonkey/makefile.patch Jan 15 14:52:21 then add it to MLDONKEY_PATCHES Jan 15 14:52:23 thx Jan 15 14:57:13 something's wrong with the cross built ocaml, Jan 15 14:57:15 $ file builds/ocaml-3.09.1-ipk/opt/bin/ocamlrun Jan 15 14:57:16 builds/ocaml-3.09.1-ipk/opt/bin/ocamlrun: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped Jan 15 15:07:24 i can't find this -lcurse anywehre Jan 15 15:08:20 $ ls staging/opt/lib/libncurses* Jan 15 15:08:22 staging/opt/lib/libncurses.a staging/opt/lib/libncurses_g.a staging/opt/lib/libncurses.so staging/opt/lib/libncurses.so.5 staging/opt/lib/libncurses.so.5.5 Jan 15 15:09:20 SkySurfer, i think the bigger problem ahead is ocaml Jan 15 15:09:45 can you do a "file builds/ocaml-3.09.1-ipk/opt/bin/ocamlrun"? Jan 15 15:11:55 builds/ocaml-3.09.1-ipk/opt/bin/ocamlrun: ELF 32-bit LSB executable, no machine, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped Jan 15 15:13:39 i'm a bit confused, what does "no machine" mean? Jan 15 15:14:17 yes a bit Jan 15 15:14:29 anyway, launching a native ocaml compilation Jan 15 15:14:49 configure told me something little em... ? Jan 15 15:16:02 should i try to copy the ocamlrun to the router and try to run mlnet.byte ? Jan 15 15:16:46 are u using wl500g or nslu2? Jan 15 15:17:05 wl500gx Jan 15 15:17:52 yes, definitely try "ipkg install" your shining new ipk Jan 15 15:18:23 so the difference could be due to wiley & slug Jan 15 15:19:33 how can i geht the ipkg installed on the router ? where do i have to upload the package ? Jan 15 15:20:33 just scp (ftp, or wget or whatever) the ipk file over, then on wl500gx, run "ipkg install pkg-xxxx.ipk" Jan 15 15:20:56 ok Jan 15 15:35:35 Fatal error: unknown C primitive `unix_dup' Jan 15 15:35:40 seams not to worl Jan 15 15:35:43 work Jan 15 15:39:01 my guess is that unix_dup is available on your cross host but not on the wl500gx Jan 15 15:39:52 if there is a way to tell it not to use 'unix_dup' Jan 15 15:43:23 i don't know if there is a way Jan 15 15:50:08 how about ? Jan 15 15:50:16 ups /opt/bin/ocamlrun: 1: Syntax error: "(" unexpected Jan 15 15:50:22 unix_dup is a kernel function which should be present in any kernel which implements unix domain sockets. It is possible the uclibc (as used on the wl500g) doesn't include a C wrapper for that system call. It may be easier to write the wrapper than work round it's absence Jan 15 15:51:25 the unix_dup was my fault .. it was the output from the wrong mashine Jan 15 15:51:42 the syntax error is from the router Jan 15 15:52:00 maybe an error in the bytecode ? Jan 15 17:18:48 03bzhou * 10unslung/make/ocaml.mk: upstream upgrade form 3.08.3 to 3.09.1, still native build though **** BEGIN LOGGING AT Sun Jan 15 19:05:03 2006 **** BEGIN LOGGING AT Mon Jan 16 00:45:19 2006 Jan 16 02:26:51 03rwhitby * 10debian/Makefile: Complete rework to use the latest Debian kernel and installer updates. **** ENDING LOGGING AT Mon Jan 16 02:59:58 2006