I am having a problem compiling ndis.  I've compiled and packaged many programs 
but never had a problem like this one.  When I attempt to compile ndis using 
gcc 3.4.3 or sun studio 12 cc the compiler/linker doesn't pre-pend the current 
directory to the paths contained in the code or makefiles.

I managed to brute force my way through compiling ndiscvt by attempting a 
compile, noting the error, and adding a full path to the line in the file that 
caused the error (rinse and repeat until ndiscvt compiled).  But there are more 
relative paths in the rest of the ndis code than I have time to brute force.

My suspicion is that the issue is something really bald, that I should've 
easily noticed, that somehow escaped my attention.  But I just can't seem to 
see it.

So hopefully someone can give my my "DUH!" moment. (or maybe a verbal lashing 
for not recognizing something simple...)

I attached a log of my most recent attempt to make ndis (mk.log).  I have tried 
using Sun Studio 12 cc as well as gcc, gmake as well as make, etc...   

My system is a Dell Studio 1735, pentium core 2 duo, with snv_111b installed, 
ati graphics card.  I have tried ndis 1.1, ndis 1.2 ndis 1.2.1 and ndis 1.2.3 
(source of the mk.log).  Each time it is the same issue.

CC=gcc
CFLAGS=-m64 -g -v
LD_LIBRARY_PATH=/usr/lib:/usr/sfw/lib/glib
AUTOMAKE=/usr/bin/automake-1.10
ACLOCAL=/usr/bin/aclocal-1.10 -I/usr/sfw/share/aclocal -I/usr/share/aclocal
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/amd64/pkgconfig:/usr/sfw/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib:/usr/lib/amd64:/usr/X11/lib

What else?.... Oh, yeah.

Yes, I have the following installed:

   PKGINST:  SUNWflexlex
      NAME:  Flex Lexer
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.11.0,REV=2008.10.14.03.13
    VENDOR:  Sun Microsystems, Inc.
      DESC:  The Flex Lexer - A lex replacement/substitute (2.5.33)
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed

   PKGINST:  SUNWonbld
      NAME:  OS-Net Build Tools
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.11,REV=2009.04.12.16.43
    VENDOR:  Sun Microsystems, Inc.
      DESC:  tools used to build the OS-Net consolidation
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed

   PKGINST:  SUNWgcc
      NAME:  gcc - The GNU C compiler
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.11.0,REV=2008.10.14.03.13
    VENDOR:  Sun Microsystems, Inc.
      DESC:  GNU C - The GNU C compiler 3.4.3
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed

   PKGINST:  SUNWhea
      NAME:  SunOS Header Files
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.11,REV=2008.10.30.20.37
    VENDOR:  Sun Microsystems, Inc.
      DESC:  SunOS C/C++ header files for general development of software
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed

   PKGINST:  SUNWgm4
      NAME:  GNU m4
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.11.0,REV=2008.10.14.03.13
    VENDOR:  Sun Microsystems, Inc.
      DESC:  GNU m4 - A macro processor (gm4) 1.4.2
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed

Thanks in advance,

Gordo
-- 
This message posted from opensolaris.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mk.log
Type: application/octet-stream
Size: 68387 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/laptop-discuss/attachments/20090625/e937a43a/attachment.obj>

Reply via email to