Problems compiling vm on Ubuntu AMD64

Jimmie Houchin jhouchin at cableone.net
Wed Apr 19 00:48:18 UTC 2006


Hello,

I've been attempting to compile a svn co of the Squeak VM on Ubuntu
Dapper Drake AMD64.

I have several AMD64 systems with Ubuntu Linux. I would like to compile
the most recent vm source. Actually I can't compile any of the vm sources.

I have a relatively default build system on my machine.
If I am missing something I don't know what it is.
Do I need xorg development files?

Any help to build this greatly appreciated.
When finished I would be happy to upload the VM somewhere if desired.
If more info is needed let me know.

Thanks.

Info below.

Jimmie



I have also made attempts with bld32 and a bld64 with
configure --with-src=srcXX

None have been successful.

--with-src=srcXX the final output was:
the sames final results from both 32 and 64.
:/home/jimmie/squeak/src/squeak-svn-source/platforms/Cross/vm/sqVirtualMachine.c:333:
undefined reference to `fetchLong32ofObject'
:/home/jimmie/squeak/src/squeak-svn-source/platforms/Cross/vm/sqVirtualMachine.c:334:
undefined reference to `getThisSessionID'
:/home/jimmie/squeak/src/squeak-svn-source/platforms/Cross/vm/sqVirtualMachine.c:335:
undefined reference to `ioFilenamefromStringofLengthresolveAliases'
:/home/jimmie/squeak/src/squeak-svn-source/platforms/Cross/vm/sqVirtualMachine.c:336:
undefined reference to `vmEndianness'
collect2: ld returned 1 exit status
make: *** [squeak] Error 1




Below is edited output from my make attempt.
I attempted to abbreviate the directories and remove the lots and lots
of    warning: cast from pointer to integer of different size
This is the simple default make from the .../unix/ directory.
I wanted to be friendly to the list and hopefully make it easier to
read. If not let me know I have full output from all three attempts I
can email upon request.


///unix_vm  == .../platforms/unix/vm
///unix_bld == .../platforms/unix/bld
///unix_plugins == .../platforms/unix/plugins
///Cross_vm == .../platforms/Cross/vm
///Cross_plugins == .../platforms/Cross/plugins
....... == -DLSB_FIRST=1 -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I-I-I-I
....... == -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I-I-I-I

jimmie at squirrel:~/squeak/src$ svn co
http://squeakvm.org/svn/squeak/trunk squeak-svn-source
...
Checked out revision 1457.
jimmie at squirrel:~/squeak/src$ cd squeak-svn-source/
jimmie at squirrel:~/squeak/src/squeak-svn-source$ cd platforms/unix/
jimmie at squirrel:~/squeak/src/squeak-svn-source/platforms/unix$ make
[ -d bld ] || mkdir bld
[ -f bld/Makefile ] || ( cd bld; ../config/configure; )
using built-in src directory
/home/jimmie/squeak/src/squeak-svn-source/platforms/unix/src
checking sanity of generated src directory... okay
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu

Configuring Squeak 3.9-2 (3.9a-7021) for x86_64-linux-gnu

checking whether make sets $(MAKE)... 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 ANSI C... none needed
checking for as... as
checking for GNU as... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for BSD-compatible nm... /usr/bin/nm -B
checking for ln... ln
checking "size of int"... "okay"
checking "size of double"... "okay"
checking for 64-bit integer type... long
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for long long... yes
checking size of long long... 8
checking for void *... yes
checking size of void *... 8
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ELF
[0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for file... /usr/bin/file
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for socklen_t in sys/socket.h... yes
checking for atexit or on_exit... atexit
checking for tzset... yes
checking for gmtoff in struct tm... yes
checking for timezone and daylight variables... yes
checking for gethostname in unistd.h... yes
checking for yp_bind in -lnsl... yes
checking for socket in -lsocket... no
checking for sin in -lm... yes
checking for _dyld_present... no
checking for dlfcn.h... (cached) yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for snprintf... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for x86_64 optimisation flags... (none)
checking for gawk... no
checking for mawk... mawk
checking whether we can gnuify interp.c... no
checking for prefix to use for loadable modules... (none)
checking for compiler flags to force 32-bit addresses...
checking whether byte ordering is bigendian... no
checking whether unaligned access to doubles is ok... no
checking whether doubles are stored in Squeak order... no
******** disabling vm-display-Quartz
checking for X... no
checking for XOpenDisplay in -lX11... no
******** disabling vm-display-X11
checking for custom display support... no
******** disabling vm-display-custom
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking for Mac OS X CoreAudio... no
******** disabling vm-sound-MacOSX
checking for Network Audio System... no
******** disabling vm-sound-NAS
checking for Open Sound System... yes
checking for SunOS/Solaris audio... no
******** disabling vm-sound-Sun
checking for custom sound support... no
******** disabling vm-sound-custom
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for _dyld_present... (cached) no
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... no
checking for nl_langinfo and CODESET... yes
******** disabling B3DAcceleratorPlugin
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking for library containing openpty... -lutil
checking for FFI support... requires libffi
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
******** disabling SqueakFFIPrims
checking for UUID support... no
******** disabling UUIDPlugin
checking for unsetenv... yes
checking for XOpenDisplay in -lX11... (cached) no
******** disabling XDisplayControlPlugin
configure: creating ./config.status
config.status: creating mkconfig
config.status: creating make.cfg
config.status: creating make.int
config.status: creating make.ext
config.status: creating make.prg
config.status: creating inisqueak
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
creating vm/Makefile
creating vm-display-fbdev/Makefile
creating vm-display-null/Makefile
creating vm-sound-OSS/Makefile
creating vm-sound-null/Makefile
creating ADPCMCodecPlugin/Makefile
creating AsynchFilePlugin/Makefile
creating B2DPlugin/Makefile
creating BitBltPlugin/Makefile
creating BMPReadWriterPlugin/Makefile
creating CroquetPlugin/Makefile
creating ZipPlugin/Makefile
creating DropPlugin/Makefile
creating DSAPrims/Makefile
creating FFTPlugin/Makefile
creating FileCopyPlugin/Makefile
creating FilePlugin/Makefile
creating FloatArrayPlugin/Makefile
creating FloatMathPlugin/Makefile
creating GeniePlugin/Makefile
creating JoystickTabletPlugin/Makefile
creating JPEGReaderPlugin/Makefile
creating JPEGReadWriter2Plugin/Makefile
creating Klatt/Makefile
creating LargeIntegers/Makefile
creating Matrix2x3Plugin/Makefile
creating MIDIPlugin/Makefile
creating MiscPrimitivePlugin/Makefile
creating Mpeg3Plugin/Makefile
creating RePlugin/Makefile
creating SecurityPlugin/Makefile
creating SerialPlugin/Makefile
creating SocketPlugin/Makefile
creating SoundCodecPrims/Makefile
creating SoundGenerationPlugin/Makefile
creating SoundPlugin/Makefile
creating StarSqueakPlugin/Makefile
creating SurfacePlugin/Makefile
creating PseudoTTYPlugin/Makefile
creating UnixOSProcessPlugin/Makefile
( cd bld; make ; )
make[1]: Entering directory `///unix_bld'
gcc -g -O2 ......-I///Cross_vm -I///unix_vm -I///unix_vm
-I///Cross_plugins/FilePlugin -I///unix_plugins/B3DAcceleratorPlugin
-I-I-I-I-INONE -c -o interp.o ///unix_vm/interp.c
///unix_vm/interp.c: In function ‘addressOfstartingAtsize’:
///unix_vm/interp.c:2222: warning: cast from pointer to integer of
different size
.......

///unix_vm/debug.c: In function ‘__sq_assert’:
///unix_vm/debug.c:21: warning: incompatible implicit declaration of
built-in function ‘abort’
.......
gcc -g -O2 ......-I///Cross_plugins/DropPlugin
-I///Cross_plugins/FilePlugin -c -o DropPlugin.o
///unix_vm/intplugins/DropPlugin/DropPlugin.c
In file included from ///unix_vm/intplugins/DropPlugin/DropPlugin.c:28:
///Cross_plugins/DropPlugin/DropPlugin.h:12:58: warning: no newline at
end of file
.......
gcc -g -O2 ......-I///Cross_plugins/DropPlugin
-I///Cross_plugins/FilePlugin -c -o sqUnixDragDrop.o
///unix_plugins/DropPlugin/sqUnixDragDrop.c
In file included from ///unix_plugins/DropPlugin/sqUnixDragDrop.c:54:
///Cross_plugins/DropPlugin/DropPlugin.h:12:58: warning: no newline at
end of file
///unix_plugins/DropPlugin/sqUnixDragDrop.c: In function
‘dropRequestFileHandle’:
///unix_plugins/DropPlugin/sqUnixDragDrop.c:84: warning: cast to pointer
from integer of different size
///unix_plugins/DropPlugin/sqUnixDragDrop.c:84: warning: cast from
pointer to integer of different size
///unix_plugins/DropPlugin/sqUnixDragDrop.c:84: warning: passing
argument 2 of ‘sqFileOpen’ makes pointer from integer without a cast
.......
gcc -g -O2 ......-I///Cross_plugins/JPEGReadWriter2Plugin    -c -o
JPEGReadWriter2Plugin.o
///unix_vm/intplugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.c
In file included from
///unix_vm/intplugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.c:28:
///Cross_plugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.h:17:100:
warning: no newline at end of file
.......
gcc -g -O2 ......-I///Cross_plugins/JPEGReadWriter2Plugin    -c -o
jmemdatasrc.o ///Cross_plugins/JPEGReadWriter2Plugin/jmemdatasrc.c
///Cross_plugins/JPEGReadWriter2Plugin/jmemdatasrc.c:201:2: warning: no
newline at end of file
.......
gcc -g -O2 -DLSB_FIRST=1  -DHAVE_CONFIG_H -DNOPTHREADS
-DSQUEAK_BUILTIN_PLUGIN -I-I-I-I-I///Cross_plugins/Mpeg3Plugin
-I///Cross_plugins/Mpeg3Plugin/libmpeg
-I///Cross_plugins/Mpeg3Plugin/libmpeg/audio
-I///Cross_plugins/Mpeg3Plugin/libmpeg/video    -c -o Mpeg3Plugin.o
///unix_vm/intplugins/Mpeg3Plugin/Mpeg3Plugin.c
///unix_vm/intplugins/Mpeg3Plugin/Mpeg3Plugin.c: In function
‘primitiveMPEG3CheckSig’:
///unix_vm/intplugins/Mpeg3Plugin/Mpeg3Plugin.c:293: warning: passing
argument 2 of ‘sqFilenameFromString’ makes integer from pointer without
a cast
///unix_vm/intplugins/Mpeg3Plugin/Mpeg3Plugin.c: In function
‘primitiveMPEG3Open’:
///unix_vm/intplugins/Mpeg3Plugin/Mpeg3Plugin.c:721: warning: passing
argument 2 of ‘sqFilenameFromString’ makes integer from pointer without
a cast
.......
gcc -g -O2 ......-I///Cross_plugins/SoundGenerationPlugin    -c -o
sqOldSoundPrims.o ///Cross_plugins/SoundGenerationPlugin/sqOldSoundPrims.c
///Cross_plugins/SoundGenerationPlugin/sqOldSoundPrims.c:7:1: warning:
"byteAt" redefined
In file included from ///Cross_vm/sq.h:19,
                 from
///Cross_plugins/SoundGenerationPlugin/sqOldSoundPrims.c:3:
///Cross_vm/sqMemoryAccess.h:111:1: warning: this is the location of the
previous definition
///Cross_plugins/SoundGenerationPlugin/sqOldSoundPrims.c:8:1: warning:
"byteAtput" redefined
///Cross_vm/sqMemoryAccess.h:112:1: warning: this is the location of the
previous definition
///Cross_plugins/SoundGenerationPlugin/sqOldSoundPrims.c:9:1: warning:
"longAt" redefined
///Cross_vm/sqMemoryAccess.h:115:1: warning: this is the location of the
previous definition
///Cross_plugins/SoundGenerationPlugin/sqOldSoundPrims.c:10:1: warning:
"longAtput" redefined
///Cross_vm/sqMemoryAccess.h:116:1: warning: this is the location of the
previous definition
ar -rc SoundGenerationPlugin.a SoundGenerationPlugin.o sqOldSoundPrims.o
ranlib SoundGenerationPlugin.a
.......
mkdir nps
/bin/sh -ec 'cd nps; ln -s
/home/jimmie/squeak/src/squeak-svn-source/platforms/unix/npsqueak/* .'
/bin/sh -ec 'cd nps; make plgdir=/usr/local/lib/squeak/3.9-2
bindir=/usr/local/bin imgdir=/usr/local/lib/squeak'
gcc -c -I./include -I/usr/X11R6/include -O2 -fPIC -Wall \
                -DSYSTEM_BIN_DIR=\"/usr/local/lib/squeak\" \
                -DSYSTEM_IMG_DIR=\"/usr/local/lib/squeak\" \
                -DNPSQUEAKRUN=\"npsqueakrun\" npsqueak.c
In file included from npsqueak.c:23:
./include/npapi.h:129:22: error: X11/Xlib.h: No such file or directory
In file included from npsqueak.c:23:
./include/npapi.h:148: error: syntax error before ‘Display’
./include/npapi.h:148: warning: no semicolon at end of struct or union
./include/npapi.h:149: warning: type defaults to ‘int’ in declaration of
‘visual’
./include/npapi.h:149: warning: data definition has no type or storage class
./include/npapi.h:150: error: syntax error before ‘colormap’
./include/npapi.h:150: warning: type defaults to ‘int’ in declaration of
‘colormap’
./include/npapi.h:150: warning: data definition has no type or storage class
./include/npapi.h:152: error: syntax error before ‘}’ token
./include/npapi.h:152: warning: type defaults to ‘int’ in declaration of
‘NPSetWindowCallbackStruct’
./include/npapi.h:152: warning: data definition has no type or storage class
npsqueak.c:34:27: error: X11/Intrinsic.h: No such file or directory
npsqueak.c:35:28: error: X11/StringDefs.h: No such file or directory
npsqueak.c:93: error: syntax error before ‘Display’
npsqueak.c:93: warning: no semicolon at end of struct or union
npsqueak.c:94: warning: type defaults to ‘int’ in declaration of ‘nswindow’
npsqueak.c:94: warning: data definition has no type or storage class
npsqueak.c:95: error: syntax error before ‘sqwindow’
npsqueak.c:95: warning: type defaults to ‘int’ in declaration of ‘sqwindow’
npsqueak.c:95: warning: data definition has no type or storage class
npsqueak.c:96: error: syntax error before ‘input’
npsqueak.c:96: warning: type defaults to ‘int’ in declaration of ‘input’
npsqueak.c:96: warning: data definition has no type or storage class
npsqueak.c:97: error: syntax error before ‘embedded’
npsqueak.c:97: warning: type defaults to ‘int’ in declaration of ‘embedded’
npsqueak.c:97: warning: data definition has no type or storage class
npsqueak.c:107: error: syntax error before ‘}’ token
npsqueak.c:107: warning: type defaults to ‘int’ in declaration of
‘SqueakPlugin’
npsqueak.c:107: warning: data definition has no type or storage class
npsqueak.c:118: error: syntax error before ‘*’ token
npsqueak.c:119: error: syntax error before ‘*’ token
npsqueak.c:120: error: syntax error before ‘*’ token
npsqueak.c:121: error: syntax error before ‘*’ token
npsqueak.c:122: error: syntax error before ‘*’ token
npsqueak.c:123: error: syntax error before ‘*’ token
npsqueak.c:124: error: syntax error before ‘*’ token
npsqueak.c:125: error: syntax error before ‘widget’
npsqueak.c:126: error: syntax error before ‘*’ token
npsqueak.c:201: error: syntax error before ‘*’ token
npsqueak.c: In function ‘NPP_New’:
npsqueak.c:212: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:212: error: (Each undeclared identifier is reported only once
npsqueak.c:212: error: for each function it appears in.)
npsqueak.c:219: error: syntax error before ‘)’ token
npsqueak.c: In function ‘NPP_Destroy’:
npsqueak.c:330: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:334: error: syntax error before ‘)’ token
npsqueak.c:340: warning: implicit declaration of function ‘XSetErrorHandler’
npsqueak.c:341: warning: implicit declaration of function ‘XSync’
npsqueak.c:342: warning: implicit declaration of function ‘XKillClient’
npsqueak.c:351: warning: implicit declaration of function ‘XtRemoveInput’
npsqueak.c: In function ‘NPP_SetWindow’:
npsqueak.c:392: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:395: error: syntax error before ‘)’ token
npsqueak.c:409: error: syntax error before ‘)’ token
npsqueak.c:411: error: ‘Window’ undeclared (first use in this function)
npsqueak.c:411: error: syntax error before ‘pNPWindow’
npsqueak.c: In function ‘NPP_NewStream’:
npsqueak.c:422: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:422: error: syntax error before ‘)’ token
npsqueak.c: In function ‘NPP_StreamAsFile’:
npsqueak.c:455: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:455: error: syntax error before ‘)’ token
npsqueak.c: In function ‘NPP_URLNotify’:
npsqueak.c:491: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:491: error: syntax error before ‘)’ token
npsqueak.c: At top level:
npsqueak.c:556: error: syntax error before ‘*’ token
npsqueak.c: In function ‘Receive’:
npsqueak.c:560: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:560: error: ‘buf’ undeclared (first use in this function)
npsqueak.c:560: error: ‘count’ undeclared (first use in this function)
npsqueak.c: At top level:
npsqueak.c:571: error: syntax error before ‘*’ token
npsqueak.c: In function ‘Send’:
npsqueak.c:575: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:575: error: ‘buf’ undeclared (first use in this function)
npsqueak.c:575: error: ‘count’ undeclared (first use in this function)
npsqueak.c: At top level:
npsqueak.c:584: error: syntax error before ‘*’ token
npsqueak.c: In function ‘SendInt’:
npsqueak.c:586: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:586: error: ‘value’ undeclared (first use in this function)
npsqueak.c: At top level:
npsqueak.c:591: error: syntax error before ‘*’ token
npsqueak.c: In function ‘DeliverFile’:
npsqueak.c:593: error: ‘fname’ undeclared (first use in this function)
npsqueak.c:594: error: ‘id’ undeclared (first use in this function)
npsqueak.c:597: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c: At top level:
npsqueak.c:613: error: syntax error before ‘*’ token
npsqueak.c: In function ‘Run’:
npsqueak.c:615: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:629: warning: implicit declaration of function ‘DisplayString’
npsqueak.c:629: warning: passing argument 1 of ‘NPN_StrDup’ makes
pointer from integer without a cast
npsqueak.c:641: warning: implicit declaration of function ‘ConnectionNumber’
npsqueak.c:657: error: ‘XtAppContext’ undeclared (first use in this
function)
npsqueak.c:657: error: syntax error before ‘app’
npsqueak.c:658: warning: implicit declaration of function ‘XtAppAddInput’
npsqueak.c:658: error: ‘app’ undeclared (first use in this function)
npsqueak.c:660: error: ‘XtPointer’ undeclared (first use in this function)
npsqueak.c:660: error: syntax error before ‘XtInputReadMask’
npsqueak.c: At top level:
npsqueak.c:672: error: syntax error before ‘*’ token
npsqueak.c: In function ‘SetWindow’:
npsqueak.c:674: error: ‘window’ undeclared (first use in this function)
npsqueak.c:674: error: ‘width’ undeclared (first use in this function)
npsqueak.c:674: error: ‘height’ undeclared (first use in this function)
npsqueak.c:675: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:676: warning: implicit declaration of function ‘XResizeWindow’
npsqueak.c:683: warning: implicit declaration of function ‘XReparentWindow’
npsqueak.c:684: warning: implicit declaration of function ‘XMapWindow’
npsqueak.c: At top level:
npsqueak.c:696: error: syntax error before ‘*’ token
npsqueak.c: In function ‘SetUpWindow’:
npsqueak.c:698: error: ‘Widget’ undeclared (first use in this function)
npsqueak.c:698: error: syntax error before ‘w’
npsqueak.c:699: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:700: warning: implicit declaration of function ‘XSelectInput’
npsqueak.c:703: warning: implicit declaration of function ‘XtAddCallback’
npsqueak.c:703: error: ‘w’ undeclared (first use in this function)
npsqueak.c:703: error: ‘XtNdestroyCallback’ undeclared (first use in
this function)
npsqueak.c:704: error: ‘XtCallbackProc’ undeclared (first use in this
function)
npsqueak.c:704: error: syntax error before ‘DestroyCallback’
npsqueak.c: At top level:
npsqueak.c:710: error: syntax error before ‘*’ token
npsqueak.c: In function ‘SetUpSqueakWindow’:
npsqueak.c:712: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:716: error: ‘XWindowAttributes’ undeclared (first use in this
function)
npsqueak.c:716: error: syntax error before ‘attr’
npsqueak.c:717: warning: implicit declaration of function
‘XGetWindowAttributes’
npsqueak.c:717: error: ‘attr’ undeclared (first use in this function)
npsqueak.c: At top level:
npsqueak.c:726: error: syntax error before ‘widget’
npsqueak.c: In function ‘DestroyCallback’:
npsqueak.c:728: error: syntax error before ‘*’ token
npsqueak.c:733: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c:733: error: ‘False’ undeclared (first use in this function)
npsqueak.c:734: warning: assignment makes pointer from integer without a
cast
npsqueak.c:738: warning: implicit declaration of function ‘XUnmapWindow’
npsqueak.c:740: warning: implicit declaration of function
‘DefaultRootWindow’
npsqueak.c: At top level:
npsqueak.c:748: error: syntax error before ‘*’ token
npsqueak.c: In function ‘InputCallback’:
npsqueak.c:752: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c: At top level:
npsqueak.c:773: error: syntax error before ‘*’ token
npsqueak.c: In function ‘GetUrl’:
npsqueak.c:779: error: ‘plugin’ undeclared (first use in this function)
npsqueak.c: At top level:
npsqueak.c:822: error: syntax error before ‘*’ token
npsqueak.c: In function ‘PostUrl’:
npsqueak.c:828: error: ‘plugin’ undeclared (first use in this function)
make[2]: *** [npsqueak.o] Error 1
make[1]: *** [nps/npsqueak.so] Error 2
make[1]: Leaving directory `///unix_bld'
make: *** [all] Error 2



More information about the Squeak-dev mailing list