[syslinux] compiling tftp-hpa-040 under Solaris 8
extern.Tobias.Kronwitter at AUDI.DE
extern.Tobias.Kronwitter at AUDI.DE
Mon May 30 04:33:55 PDT 2005
Dear List,
I'm trying to compile tftp-hpa-040 under Solris 8:
Step 1: "configre" works fine:
root at isu001[/usr/src/tftp-hpa-0.40] > ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for AIX... no
checking for ANSI C header files... yes
.
.
.
configure: creating ./config.status
config.status: creating MCONFIG
config.status: creating aconfig.h
root at isu001[/usr/src/tftp-hpa-0.40] >
Step 2: compiling the binaries / creating the library "libxtra.a" fails:
root at isu001[/usr/src/tftp-hpa-0.40] > make
echo \#define VERSION \"tftp-hpa `cat version`\" > version.h
make -C lib
make[1]: Entering directory `/usr/share/src/tftp-hpa-0.40/lib'
rm -f libxtra.a
ar cq libxtra.a
ranlib libxtra.a
make[1]: Leaving directory `/usr/share/src/tftp-hpa-0.40/lib'
make -C tftp
make[1]: Entering directory `/usr/share/src/tftp-hpa-0.40/tftp'
gcc -g -O2 -D_XPG4_2 -D_XOPEN_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE
-D_ISO9X_SOURCE -D_OSF_SOURCE - D_XOPEN_SOURCE_EXTENDED -W -Wall
-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef
-Wshadow -Wsign-compare -pipe -fno- strict-aliasing
-I/usr/src/tftp-hpa-0.40 -c tftp.c
gcc -g -O2 -D_XPG4_2 -D_XOPEN_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE
-D_ISO9X_SOURCE -D_OSF_SOURCE - D_XOPEN_SOURCE_EXTENDED -W -Wall
-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef
-Wshadow -Wsign-compare -pipe -fno- strict-aliasing
-I/usr/src/tftp-hpa-0.40 -c main.c
main.c: In function `makeargv':
main.c:816: warning: subscript has type `char'
main.c:822: warning: subscript has type `char'
gcc -g -O2 -D_XPG4_2 -D_XOPEN_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE
-D_ISO9X_SOURCE -D_OSF_SOURCE - D_XOPEN_SOURCE_EXTENDED -W -Wall
-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef
-Wshadow -Wsign-compare -pipe -fno- strict-aliasing
-I/usr/src/tftp-hpa-0.40 -c tftpsubs.c
gcc tftp.o main.o tftpsubs.o -liberty -lresolv -lnsl -lsocket
/usr/src/tftp-hpa-0.40/lib/libxtra.a -o tftp
gcc: /usr/src/tftp-hpa-0.40/lib/libxtra.a: No such file or directory
make[1]: *** [tftp] Error 1
make[1]: Leaving directory `/usr/share/src/tftp-hpa-0.40/tftp'
make: *** [tftp.build] Error 2
root at isu001[/usr/src/tftp-hpa-0.40] >
Entering the "lib - directory" and starting "make" from there (same as at
the beginning) seems not to do anything:
root at isu001[/usr/src/tftp-hpa-0.40/lib] > ls -al
total 12
drwxrwxr-x 2 root other 512 Oct 9 2004 .
drwxrwxr-x 5 root other 1024 May 30 12:57 ..
-rw-rw-r-- 1 root other 296 May 30 12:12 Makefile
-rw-rw-r-- 1 root other 606 Aug 7 2001 bsdsignal.c
-rw-rw-r-- 1 root other 257 Mar 30 2001 xmalloc.c
-rw-rw-r-- 1 root other 276 Mar 30 2001 xstrdup.c
root at isu001[/usr/src/tftp-hpa-0.40/lib] > make
rm -f libxtra.a
ar cq libxtra.a
ranlib libxtra.a
root at isu001[/usr/src/tftp-hpa-0.40/lib] >
Any clues ?
Thank you for your help
Tobias
More information about the Syslinux
mailing list