Xfishtank doesn't compile under linux?

Xfishtank doesn't compile under linux?

Post by Michael J Stum » Mon, 13 Jun 1994 14:49:12



I get this when I try to compile xfishtank.. any thoughts?  thanks.

--cut--
gcc  -g -m486 -DNO_ASM -fwritable-strings  -I. -I./fishmaps -I/usr/X386/include  -D_POSIX_SO
URCE -D_BSD_SOURCE -D_GNU_SOURCE   -Dlinux  -DFUNCPROTO=11 -DNARROWPROTO     makeh.c   -lm  
-o makeh
./makeh > xfishy.h
gcc  -g -m486 -DNO_ASM -fwritable-strings  -I. -I./fishmaps -I/usr/X386/include  -D_POSIX_SO
URCE -D_BSD_SOURCE -D_GNU_SOURCE   -Dlinux  -DFUNCPROTO=11 -DNARROWPROTO    -c xfish.c -o xf
ish.o
xfish.c: In function `parse':
xfish.c:178: warning: passing arg 2 of `strcpy' makes pointer from integer without a cast
xfish.c: In function `init_colormap':
xfish.c:989: warning: comparison between pointer and integer
xfish.c: In function `MakeImage':
xfish.c:1167: warning: type mismatch with previous external decl
xfish.c:985: warning: previous external decl of `malloc'
xfish.c: In function `init_pixmap':
xfish.c:1221: warning: type mismatch with previous implicit declaration
xfish.c:1167: warning: previous implicit declaration of `malloc'
xfish.c: In function `init_signals':
xfish.c:1472: storage size of `vec' isn't known
xfish.c: In function `initialize':
xfish.c:1504: warning: type mismatch with previous implicit declaration
xfish.c:1167: warning: previous implicit declaration of `malloc'
xfish.c:1534: warning: comparison between pointer and integer
xfish.c: In function `high_res_sleep':
xfish.c:1969: warning: passing arg 2 of `select' from incompatible pointer type
xfish.c:1969: warning: passing arg 3 of `select' from incompatible pointer type
xfish.c:1969: warning: passing arg 4 of `select' from incompatible pointer type
make: *** [xfish.o] Error 1

--cut--

anyone get this compiled?

 
 
 

Xfishtank doesn't compile under linux?

Post by M. Shawn East » Tue, 14 Jun 1994 02:23:44


I got it to compile fine. I can't tell from your post what the error is
but I also got a lot of warning messages. Nothing that stopped it from
compiling though. I'm using Linux 1.1.4 and XFree86 2.1.

Shawn.


: I get this when I try to compile xfishtank.. any thoughts?  thanks.

: --cut--
: gcc  -g -m486 -DNO_ASM -fwritable-strings  -I. -I./fishmaps -I/usr/X386/include  -D_POSIX_SO
: URCE -D_BSD_SOURCE -D_GNU_SOURCE   -Dlinux  -DFUNCPROTO=11 -DNARROWPROTO     makeh.c   -lm  
: -o makeh
: ./makeh > xfishy.h
: gcc  -g -m486 -DNO_ASM -fwritable-strings  -I. -I./fishmaps -I/usr/X386/include  -D_POSIX_SO
: URCE -D_BSD_SOURCE -D_GNU_SOURCE   -Dlinux  -DFUNCPROTO=11 -DNARROWPROTO    -c xfish.c -o xf
: ish.o
: xfish.c: In function `parse':
: xfish.c:178: warning: passing arg 2 of `strcpy' makes pointer from integer without a cast
: xfish.c: In function `init_colormap':
: xfish.c:989: warning: comparison between pointer and integer
: xfish.c: In function `MakeImage':
: xfish.c:1167: warning: type mismatch with previous external decl
: xfish.c:985: warning: previous external decl of `malloc'
: xfish.c: In function `init_pixmap':
: xfish.c:1221: warning: type mismatch with previous implicit declaration
: xfish.c:1167: warning: previous implicit declaration of `malloc'
: xfish.c: In function `init_signals':
: xfish.c:1472: storage size of `vec' isn't known
: xfish.c: In function `initialize':
: xfish.c:1504: warning: type mismatch with previous implicit declaration
: xfish.c:1167: warning: previous implicit declaration of `malloc'
: xfish.c:1534: warning: comparison between pointer and integer
: xfish.c: In function `high_res_sleep':
: xfish.c:1969: warning: passing arg 2 of `select' from incompatible pointer type
: xfish.c:1969: warning: passing arg 3 of `select' from incompatible pointer type
: xfish.c:1969: warning: passing arg 4 of `select' from incompatible pointer type
: make: *** [xfish.o] Error 1

: --cut--

: anyone get this compiled?

--
           /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\  
          / /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ \  
         / /                  M. Shawn Easter                    \ \


 
 
 

Xfishtank doesn't compile under linux?

Post by mcsdc2.. » Thu, 16 Jun 1994 23:42:06


Quote:> I got it to compile fine. I can't tell from your post what the error is
> but I also got a lot of warning messages. Nothing that stopped it from
> compiling though. I'm using Linux 1.1.4 and XFree86 2.1.
> Shawn.

So did i....but then i followed a few simple rules......

1) enter xmkmf (to convert an Imakefile.....(edit it if you have placed any of
the directories in different places...i dont think I had to...))

2) enter make Makefiles (to change makefiles.....:)

3) enter make clean (remove old binaries

4) enter make depend (make dependencies in files change to directories in
makefile)

5) enter make (or make all ....aint good at memory :)

That should do it....you should get some WARNINGS (NOT errors (:) as these stop
the gcc or g++ dead usually.....)

Now....if any1 out there in Linux-Land can get piewm to compile....i would kiss
their feet....where IS th 0.2 jump table anywayz ??? i got libc.so.4.4.2
and couldnt find it there....

hmmm...thanx...

Quote:> : make: *** [xfish.o] Error 1
> : anyone get this compiled?

i believe the make error 1 means....it couldnt find a certain file....because
you have not chnaged the Imakefile or not done dependancies....:>

Stay Toasty
-Stef Aka Zodiac-

 
 
 

1. FreeBSD 3.0 missing X file (Or... xfishtank doesn't work!)

I've finally got my system working with FreeBSD and X-windows again
after a large number of problems.

Annoyingly there are still some problems.  When I try to run such vital
programs as xfishtank, xearth, xbill etcetera, the system informs me
that a file is missing.  The error message is as follows:

/usr/libexec/ld-elf.so.1:shared object "libkrb.so.3" not found

I checked the necessary directory and yes, the file is really missing.
What does this mean I should do?  Reinstall X?  Grab a port of X?
Simply find a place I can grab that file?

Any suggestions would be appreciated.

System information for the curious:

Currently running FreeBSD 3.0 and XFree86 3.3.2.  Got the Cheapbytes
version.

Jim Z.


2. Newbie Networking with Slattach using S.u.S.E. Linux (how)?

3. Trouble compiling XFISHTANK - compiling error

4. Changing From: field in MH or exmh

5. linux-1.1.39 doesn't wanna compile w/TMC850 Driver

6. Glut package from SunFreeware

7. xfishtank - compile errors

8. problème boot cdrom sur Ultra2

9. Linux-2.4.2 doesn't compile for MIPS R5K

10. My Slackware doesn't work with soundcard, & can't compile Kernel

11. 486 Doesn't see >16MB...no it's not compiled that way!

12. DOSEMU:0.49 doesn't work, won't compile.

13. 486 Doesn't see >16MB...no it's not compiled that way!