It sounds like you need to run ./configure first. Configure is a script that will set up all the variables for you (CC - which compiler is on your system, LD - which loader, etc.) Then the makefile should work just fine.
Nathan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Andrew Jacobs Sent: Tuesday, February 18, 2003 12:06 PM To: [EMAIL PROTECTED] Subject: [uug] NIC driver Just installed Yellow Dog Linux 2.2 on my Mac 8500 and chose the 'Internet Server' option. The built in Ethernet works fine, but now I'm trying to add a second NIC to do some NAT/multi-homing stuff at home (a D-Link DFE-530tx+) but can't get the darn thing to install. The driver consisted of a Makefile and a .c file. I'll include the instructions from D-link which I don't understand too well at the end of this. Here's the error when I enter ./Makefile (which they provided) at the prompt: ./Makefile: CC: command not found ./Makefile: LD: command not found ./Makefile: LISTING: command not found ./Makefile: LISTINGFLAGS: command not found ./Makefile: RELOCATESTABS: command not found ./Makefile: DRIVER_MODULE: command not found ./Makefile: DRIVER_OBJ: command not found ./Makefile: ifndef: command not found ./Makefile: TOPDIR: command not found ./Makefile: endif: command not found ./Makefile: TOPDIR: command not found ./Makefile: INCLUDES: command not found ./Makefile: INCLUDES: command not found ./Makefile: CFLAGS: command not found ./Makefile: CFLAGS: command not found ./Makefile: CFLAGS: command not found ./Makefile: fg: no job control ./Makefile: line 51: syntax error near unexpected token `$<' ./Makefile: line 51: ` $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<' Thoughts/ideas? Thanks. -Andrew The procedure to activate DFE-530TX+ on Red Hat 6.X linux is as follows: *IS YDL2.2 THE SAME AS RH 6.X?* step 1: copy the driver rtl8139.c from driver disk to you linux. step 2: compile: The instruction for compiling the driver is include at the end of the driver file. (run this instruction at /usr/src/linux) Or you can use the Makefile included in the driver disk \Linux. step 3: insert the driver as module: insmod rtl8139.o (run 'lsmod' to see if the module is inserted) step 4: bind your card to an IP address ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
