problems building slurm-0.3.2 from ports

Hiten Pandya hmp at backplane.com
Wed May 4 20:04:09 PDT 2005


This is due to updated media definitions obtained from FreeBSD.  The port
should be using the new defines, weird.  Anyway, change the src/if_media.c
file using the following substitutions:
	(a) IFM_1000_TX is now IFM_1000_T
	(b) IFM_homePNA is IFM_HPNA_1
Kind regards,

				-Hiten
				Hiten Pandya
				hmp at xxxxxxxxxxxxxxxx
lists at dentarg dot net wrote:
===>  Building for slurm-0.3.2
make  all-am
source='slurm.c' object='slurm.o' libtool=no  depfile='.deps/slurm.Po' 
tmpdepfile='.deps/slurm.TPo'  depmode=gcc /bin/sh ./depcomp  cc 
-DHAVE_CONFIG_H -I. -I. -I.      -I/usr/local/include -I/usr/include 
-D_HAVE_NCURSES -D_HAVE_NCURSES_COLOR -c `test -f 'slurm.c' || echo 
'./'`slurm.c
In file included from slurm.c:43:
src/if_media.c: In function `get_if_speed':
src/if_media.c:108: `IFM_1000_TX' undeclared (first use in this function)
src/if_media.c:108: (Each undeclared identifier is reported only once
src/if_media.c:108: for each function it appears in.)
src/if_media.c:137: `IFM_homePNA' undeclared (first use in this function)
*** Error code 1

Stop in /usr/dfports/net/slurm/work/slurm-0.3.2.
*** Error code 1
Stop in /usr/dfports/net/slurm/work/slurm-0.3.2.
*** Error code 1
Stop in /usr/dfports/net/slurm.
*** Error code 1
Stop.





More information about the Bugs mailing list