From: "BP" Newsgroups: comp.os.msdos.djgpp References: <80oek1$6fk$1 AT morgoth DOT sfu DOT ca> Subject: Re: compiling libsock 0.74beta3 Lines: 43 Organization: EAC X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Mon, 15 Nov 1999 03:35:33 -0800 NNTP-Posting-Host: 216.66.139.109 X-Complaints-To: abuse AT direct DOT ca X-Trace: brie.direct.ca 942665111 216.66.139.109 (Mon, 15 Nov 1999 03:25:11 PST) NNTP-Posting-Date: Mon, 15 Nov 1999 03:25:11 PST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm not an expert, but I received the same type of error messages when MAKing LIBAMP, an mp3 player. Apparently the ASM error messages appear because the way djgpp handles ASM statements differently in the latest version (2.95). If you compile under an older version of djgpp, I'm guessing it will probably work. If you know ASM, check out this page to fix the problem: http://egcs.cygnus.com/faq.html#asmclobber Plus, there might be a patch out there somewhere. Anyone? BP Shaun Jackman wrote in message news:80oek1$6fk$1 AT morgoth DOT sfu DOT ca... > I'm trying to compile libsock version 0.74beta3 and am having nothing but > trouble. > I'm using what I'm pretty sure is a standard DJGPP install. I had no > trouble > compiling Allegro for example. > The libsock compile seems to be going well, but stops dead with > > vdhcp.c: In function `vdhcp_callvxd': > vdhcp.c:114: Invalid `asm' statement: > vdhcp.c:114: fixed or forbidden register 0 (ax) was spilled for class > AREG. > make.exe[2]: *** [vdhcp.o] Error 1 > make.exe[2]: Leaving directory `c:/djgpp/contrib/lsck073/src/config' > make.exe[1]: *** [comp_config] Error 2 > make.exe[1]: Leaving directory `c:/djgpp/contrib/lsck073/src' > make.exe: *** [library] Error 2 > [exited with 2] > > Any thoughts? > Should I be using a different sockets library? > note: I'm running in Windows 98SE. > > Thanks in advance, > Shaun Jackman >