helpCrack Attack! - Support: sr #107644, compiling on a fedora14 system

 
 

sr #107644: compiling on a fedora14 system

Submitted by:  None
Submitted on:  Sat 02 Apr 2011 02:56:01 PM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 02 Apr 2011 02:56:01 PM UTC, original submission:  

Hello all,

first of all i want to use the possibility to thank you for the development and support of this great game. I like it very much.

I tried to compile the game starting from the source on a 64bit linux fedora 14 system. I used the configure program without any flags for setting up the compiling process. Afterwards i started the make program, but the compilation stopped in the TextureLoader.h file saying that the strncpy command was not declared in this scope. I inserted an #include string.h command at the beginning of this file. Afterwards the make command passed through. After starting the program i noticed that the main window was not opened. On the website http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg28608.html i found a solution for this problem. Since then the program works really fine.

I attached the console print out to this email before i changed the TextureLoader.h file.

Best regards,

Steffen

---------------------------------------------------------------

[steffen@steffen crack-attack-1.1.14]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for glBegin in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for glutInit in -lglut... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for /proc/self/maps... yes
checking whether everything is installed to the same prefix... yes
checking whether binary relocation support should be enabled... yes
checking for pthread_getspecific in -lpthread... yes
checking whether binary relocation should use threads... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.0... yes
checking PACKAGE_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 
checking PACKAGE_LIBS... -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for atexit... yes
checking for gethostbyname... (cached) yes
checking for inet_ntoa... yes
checking for mkdir... yes
checking for pow... no
checking for socket... yes
checking for sqrt... no
checking for strchr... yes
checking for strcspn... yes
checking for strstr... yes
checking for poll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/gtk-gui/Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating autopackage/default.apspec
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands

------------------------------------------------------------

In file included from ActionRecorder.cxx:24:0:
TextureLoader.h: In static member function ‘static void TextureLoader::buildLocalDataDirectoryName(char*)’:
TextureLoader.h:66:42: error: ‘strncpy’ was not declared in this scope
TextureLoader.h: In static member function ‘static void TextureLoader::buildLocalDataFileName(const char*, char*)’:
TextureLoader.h:78:43: error: ‘strncpy’ was not declared in this scope
make[3]: *** [ActionRecorder.o] Error 1
make[3]: Leaving directory `/home/steffen/bin/temp/crack-attack-1.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steffen/bin/temp/crack-attack-1.1.14/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/steffen/bin/temp/crack-attack-1.1.14/src'
make: *** [all-recursive] Error 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.5