[OSy] kompilace msimu

Martina martina at matousec.com
Sat Nov 3 20:31:38 CET 2007


Zdravim,

dnes jsem se pokusila prelozit si msim na svem druhem pocitaci a oproti
minule to neslo hladce a nefunguje mi to. Nesetkali jste se s tim uz? Co
vam pomohlo?

Stahla jsem si msim-1.3.2.1.tar.gz z webu predmetu, rozbalila, udelala
configure, zde je vypis (kdyby mel nekdo chut se v tom postourat):

[root at aqua msim-1.3.2.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets $(MAKE)... (cached) yes
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 ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld... ld
checking for readline in -lreadline... yes
checking for main in -lsocket... no
checking for main in -lnsl... yes
checking for main in -lcurses... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/stat.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdint.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking whether byte ordering is bigendian... no
checking for socklen_t... yes
checking for getopt_long... yes
checking for gcc option to accept ANSI C... none needed
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir
setting
config.status: creating src/Makefile
config.status: WARNING:  src/Makefile.in seems to ignore the
--datarootdir setting
config.status: creating examples/Makefile
config.status: WARNING:  examples/Makefile.in seems to ignore the
--datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands


uz ty posledni radky vypadaji podezrele. Pak jsem udelala make, ten
probehl zcela vporadku a make install take (nainstalovalo se to tam, kam
melo, bez potizi).

Problem se ukazal, kdyz jsem chtela msim spustit. Budu ilustrovat na
kalistu:

[s0c at aqua osy0708-marato]$ cd kalisto-0.7.2
[s0c at aqua kalisto-0.7.2]$ msim
22: Too many parameters.
[s0c at aqua kalisto-0.7.2]$

pricemz na radku 22 souboru msim.conf je:
add rwm mainmem         0               128k    load "kernel.bin"

Stejne se to chova i na nasem kernelu - stahla jsem z naseho svn, na
notebooku mi funguje, tady ne, hlasi tu samou chybu.

Snazila jsem se to poresit tak, ze jsem stahla zkompilovanou verzi msimu
z webu predmetu a ta se chova uplne stejne, hlasi stejnou chybu.

Mam Fedoru 7 Moonshine:
[s0c at aqua kalisto-0.7.2]$ uname -a
Linux aqua 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:47:07 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux

(Na notebooku, kde mi to funguje, mam gentoo.)

Uzijte si hezkou nedeli,
Martina





More information about the NSWI004 mailing list