From: Sean B. <sea...@so...> - 2004-03-04 12:21:32
|
I think you are using the wrong library. I asked a similar question a few days ago. Here is part of the message: | Dan set the bridged daemon aside in the makefile. From the colinux/src | dir: | | make bridged_net_daemon | | You may also need the winpcap headers, those are available on the | winpcap site (google for link). I've been using the 3.0 Developer's | Pack. Careful how you integrate these with the existing includes, make a | backup of what's there since pcap includes some different versions of | what's already there. I cannot integrate the include files because I do not know how to do it properly. When you do integrate them please can you tell me what you did so I can compile the conet-bridged-daemon too :) ----- Original Message ----- From: "Benoit MICHEL" <ben...@cg...> To: "Cooperative Linux Development" <col...@li...> Sent: Thursday, March 04, 2004 9:59 AM Subject: Re: [coLinux-devel] coLinux on NT4? | Hi all | | I succeed in running colinux on nt4 sp6a after replacing ExFreePoolWithTag | (in src/colinux/winnt/kernel/lowlevel/alloc.c) with | ExFreePool. | and GlobalMemoryStatusEx (in /src/colinux/os/winnt/user/misc.c) with | GlobalMemoryStatus. | I just still have pb compiling conet-bridged-daemon, ld can't find -lwpcap | I downloaded libpcap-8.xxxx.tar.gz | untared it, configure with --prefix= and --target feeded | make then make install without any pb | | any idea??? | | thx | Ben | | ----- Original Message ----- | From: "Benoit MICHEL" <ben...@cg...> | To: "Cooperative Linux Development" <col...@li...> | Sent: Wednesday, March 03, 2004 4:37 PM | Subject: Re: [coLinux-devel] coLinux on NT4? | | | > memory allocated with ExAllocatePoolWithTag can also be freed with | > ExFreePool (wich is NT4 supported) | > in the file src/colinux/winnt/kernel/lowlevel/alloc.c | > I gonna try to compile tonight with the second in place of the first...... | > | > And this function is declared in win32api, include/ddk/winddk.h | > these functions are dependent of a flag : POOL_TAGGING, does someone know | if | > this is set in colinux cross compilation tools? I don't think so. | > | > thx | > Ben | > | > | > ----- Original Message ----- | > From: "Benoit MICHEL" <ben...@cg...> | > To: "Digital Infra, Inc." <ok...@di...> | > Cc: "Cooperative Linux Development" <col...@li...> | > Sent: Wednesday, March 03, 2004 9:59 AM | > Subject: Re: [coLinux-devel] coLinux on NT4? | > | > | > > Hi | > > | > > I'd like to use it at work, where i'm still using nt4 (really heavy to | use | > > cL through vmware) | > > It is for a real usage AND optionnaly ;) for my pleasure ;) | > > but at home.... XP, colinux rulez | > > what do you mean by BSOD?? | > > and the daemon doesn't trapp, just show a messagebox with "device driver | > > d:\col\linux.sys was unable to find entry point for ExFreePoolWithTag in | > > ntoskrnl.exe driver" (litteral traduction, original was in french ;) ) | > then | > > close the windows when I click on OK. | > > | > > It all began with the same symptoms complaining about | GlobalMemoryStatusEx | > > (not supported by NT4) | > > I made these modifications in /src/colinux/os/winnt/user/misc.c | > > | > > diff says : | > > 20,21c20,21 | > > < MEMORYSTATUSEX m; | > > < BOOL ret; | > > --- | > > > MEMORYSTATUS m; | > > > //BOOL ret; | > > 24,25c24,25 | > > < ret = GlobalMemoryStatusEx(&m); | > > < if (ret != TRUE) { | > > --- | > > > /*ret = */GlobalMemoryStatus(&m); | > > > /*if (ret != TRUE) { | > > 28c28 | > > < } | > > --- | > > > }*/ | > > 30c30 | > > < if (m.ullTotalPhys > (DWORDLONG)0xFF000000) { | > > --- | > > > if (m.dwTotalPhys > (DWORDLONG)0xFF000000) { | > > 36c36 | > > < *mem_size = 0xFF000000 & (((unsigned long)m.ullTotalPhys) + | 0xFFFFFF); | > > --- | > > > *mem_size = 0xFF000000 & (((unsigned long)m.dwTotalPhys) + 0xFFFFFF); | > > | > > | > > just using GlobalMemoryStatus instead of GlobalMemoryStatusEx (my NT4 | > system | > > is far below the 2GB limit ;) ) | > > | > > no pb anymore to compile it at home using cobuild.sh (edited to not | > > averwrite my modifications) | > > and when I tried it today here, the daemon complains about | > ExFreePoolWithTag | > > | > > When I look at my NTOSKRNL.EXE (v4.00) it exports ExFreePool but not | > > ExFreePoolWithTag | > > | > > The doc I found say that nt4 SP4 workstation support this API, i'm in | > sp6a. | > > | > > Benoit | > > | > > | > > ----- Original Message ----- | > > From: "Digital Infra, Inc." <ok...@di...> | > > To: "Benoit MICHEL" <bem...@ca...> | > > Cc: "Cooperative Linux Development" | <col...@li...> | > > Sent: Tuesday, March 02, 2004 4:07 PM | > > Subject: Re: [coLinux-devel] coLinux on NT4? | > > | > > | > > > | > > > Hello | > > > | > > > BTW, Why you have an interest about coLinux on NT4? | > > > Just your hobby? or you have real usage? | > > > but, at least, I welcome your effort very much. | > > > because, with your effort, we can collect more hints to | > > > stabilize coLinux. thanks Benoit!. | > > > and please give us your history of BSOD with a stack trace. | > > > | > > > --- Okajima. | > > | > > | > > | > > ------------------------------------------------------- | > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. | > > Build and deploy apps & Web services for Linux with | > > a free DVD software kit from IBM. Click Now! | > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | > > _______________________________________________ | > > coLinux-devel mailing list | > > coL...@li... | > > https://lists.sourceforge.net/lists/listinfo/colinux-devel | > | > | > | > ------------------------------------------------------- | > SF.Net is sponsored by: Speed Start Your Linux Apps Now. | > Build and deploy apps & Web services for Linux with | > a free DVD software kit from IBM. Click Now! | > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | > _______________________________________________ | > coLinux-devel mailing list | > coL...@li... | > https://lists.sourceforge.net/lists/listinfo/colinux-devel | | | | ------------------------------------------------------- | This SF.Net email is sponsored by: IBM Linux Tutorials | Free Linux tutorial presented by Daniel Robbins, President and CEO of | GenToo technologies. Learn everything from fundamentals to system | administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click | _______________________________________________ | coLinux-devel mailing list | coL...@li... | https://lists.sourceforge.net/lists/listinfo/colinux-devel |