LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2014, 11:01 PM   #1
AngryAngry
Member
 
Registered: Jan 2011
Posts: 67

Rep: Reputation: 0
gcc libraries (Allegro and dependencies)


Running Slackware 13.37

(If this is more of a slackware specific issue, please do move it to the required section, thanks)

Okay I made a directory in /tmp called /build
copied Allegro, and dependecies Dumb & Physfs zip files.
Uncompressed dumb first, cmake, then make install as per instructions.
Here are the errors:

bash-4.1# make
gcc make/dumbask.c -o make/dumbask
make/config.sh
Would you like support for Allegro (Y/N)? y
Please specify an installation prefix (default /usr/local).
>
Configuration complete.
Run 'make config' to change it in the future.
Press Enter to continue ... make install
mkdir lib
mkdir lib/unix
mkdir obj
mkdir obj/unix
mkdir obj/unix/debug
mkdir obj/unix/release
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/atexit.o src/core/atexit.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/duhlen.o src/core/duhlen.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/duhtag.o src/core/duhtag.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/dumbfile.o src/core/dumbfile.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/loadduh.o src/core/loadduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/makeduh.o src/core/makeduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/rawsig.o src/core/rawsig.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/readduh.o src/core/readduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/register.o src/core/register.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/rendduh.o src/core/rendduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/rendsig.o src/core/rendsig.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/unload.o src/core/unload.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/clickrem.o src/helpers/clickrem.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/memfile.o src/helpers/memfile.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/resample.o src/helpers/resample.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/sampbuf.o src/helpers/sampbuf.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/silence.o src/helpers/silence.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/stdfile.o src/helpers/stdfile.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itload.o src/it/itload.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itread.o src/it/itread.c
src/it/itread.c: In function 'it_read_old_instrument':
src/it/itread.c:324:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:353:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_read_instrument':
src/it/itread.c:434:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:453:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_read_sample_header':
src/it/itread.c:484:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:491:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_read_pattern':
src/it/itread.c:662:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_load_sigdata':
src/it/itread.c:847:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:880:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:881:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:922:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:1010:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:1042:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:1093:6: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'dumb_read_it_quick':
src/it/itread.c:1199:13: warning: pointer targets in assignment differ in signedness
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itload2.o src/it/itload2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itread2.o src/it/itread2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itrender.o src/it/itrender.c
see second post for rest of dumb errors.

In the instructions it said something about a character issue, which may be the reason for so many error messages.
Obviously Allegro was not detected as I needed to install Dumb & Physfs first before I could install Allegro.

Next I installed Physfs, and here is the lone error:

sys/ucred.h - not found

Next I installed Allegro with these errors:

Looking for include files ALLEGRO_HAVE_MACHINE_SOUNDCARD_H - not found.
Looking for include files ALLEGRO_HAVE_OSATOMIC_H - not found.
Looking for getexecname - not found

Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed
Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed
Looking for pthread_create in pthreads - not found
Looking for X11/extensions/xf86vmode.h - not found
checking for module 'libpulse-simple'
-- package 'libpulse-simple' not found
Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
Could NOT find DUMB (missing: DUMB_INCLUDE_DIR DUMB_LIBRARY)
WARNING: libdumb not found or compile test failed, disabling support. <http://dumb.sourceforge.net/>

After this I ran Dumb config and enabled Allegro support.

I'm unsure if I'm installing correctly as I have no idea where files/programs or anything really is located within Linux (which is probably obvious to you).

I tried to compile a C program using the Allegro.h library and it failed as it could not find Allegro.h, I've had a look around but as I have no idea where to look I didn't have much luck.

The only file system search tool I know is Dolphin and that is broken with this message (it did work a few times):
Nepomuk system not activated.

Last edited by AngryAngry; 01-15-2014 at 11:03 PM.
 
Old 01-15-2014, 11:01 PM   #2
AngryAngry
Member
 
Registered: Jan 2011
Posts: 67

Original Poster
Rep: Reputation: 0
second part of dumb errors:

gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itunload.o src/it/itunload.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/loads3m.o src/it/loads3m.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/reads3m.o src/it/reads3m.c
src/it/reads3m.c: In function 'it_s3m_read_sample_header':
src/it/reads3m.c:57:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c:83:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c: In function 'it_s3m_read_pattern':
src/it/reads3m.c:235:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c: In function 'it_s3m_load_sigdata':
src/it/reads3m.c:389:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c:498:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c: In function 'dumb_read_s3m_quick':
src/it/reads3m.c:667:13: warning: pointer targets in assignment differ in signedness
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/loadxm.o src/it/loadxm.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/readxm.o src/it/readxm.c
src/it/readxm.c: In function 'it_xm_read_pattern':
src/it/readxm.c:212:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'it_xm_read_instrument':
src/it/readxm.c:339:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'it_xm_read_sample_header':
src/it/readxm.c:493:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'it_xm_load_sigdata':
src/it/readxm.c:634:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c:706:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'dumb_read_xm_quick':
src/it/readxm.c:1004:13: warning: pointer targets in assignment differ in signedness
src/it/readxm.c:771:23: warning: 'extra.vibrato_type' may be used uninitialized in this function
src/it/readxm.c:771:23: note: 'extra.vibrato_type' was declared here
src/it/readxm.c:771:23: warning: 'extra.vibrato_sweep' may be used uninitialized in this function
src/it/readxm.c:771:23: note: 'extra.vibrato_sweep' was declared here
src/it/readxm.c:771:23: warning: 'extra.vibrato_depth' may be used uninitialized in this function
src/it/readxm.c:771:23: note: 'extra.vibrato_depth' was declared here
src/it/readxm.c:771:23: warning: 'extra.vibrato_speed' may be used uninitialized in this function
src/it/readxm.c:771:23: note: 'extra.vibrato_speed' was declared here
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/loadmod.o src/it/loadmod.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/readmod.o src/it/readmod.c
src/it/readmod.c: In function 'it_mod_read_pattern':
src/it/readmod.c:41:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c:44:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c:48:3: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'it_mod_read_sample_header':
src/it/readmod.c:134:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'dumbfile_buffer_mod':
src/it/readmod.c:318:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'it_mod_load_sigdata':
src/it/readmod.c:363:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c:491:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'dumb_read_mod_quick':
src/it/readmod.c:601:13: warning: pointer targets in assignment differ in signedness
src/it/readmod.c:346:16: warning: 'fft' may be used uninitialized in this function
src/it/readmod.c:346:16: note: 'fft' was declared here
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/loads3m2.o src/it/loads3m2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/reads3m2.o src/it/reads3m2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/loadxm2.o src/it/loadxm2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/readxm2.o src/it/readxm2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/loadmod2.o src/it/loadmod2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/readmod2.o src/it/readmod2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/xmeffect.o src/it/xmeffect.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itorder.o src/it/itorder.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itmisc.o src/it/itmisc.c
ar rs lib/unix/libdumb.a obj/unix/release/atexit.o obj/unix/release/duhlen.o obj/unix/release/duhtag.o obj/unix/release/dumbfile.o obj/unix/release/loadduh.o obj/unix/release/makeduh.o obj/unix/release/rawsig.o obj/unix/release/readduh.o obj/unix/release/register.o obj/unix/release/rendduh.o obj/unix/release/rendsig.o obj/unix/release/unload.o obj/unix/release/clickrem.o obj/unix/release/memfile.o obj/unix/release/resample.o obj/unix/release/sampbuf.o obj/unix/release/silence.o obj/unix/release/stdfile.o obj/unix/release/itload.o obj/unix/release/itread.o obj/unix/release/itload2.o obj/unix/release/itread2.o obj/unix/release/itrender.o obj/unix/release/itunload.o obj/unix/release/loads3m.o obj/unix/release/reads3m.o obj/unix/release/loadxm.o obj/unix/release/readxm.o obj/unix/release/loadmod.o obj/unix/release/readmod.o obj/unix/release/loads3m2.o obj/unix/release/reads3m2.o obj/unix/release/loadxm2.o obj/unix/release/readxm2.o obj/unix/release/loadmod2.o obj/unix/release/readmod2.o obj/unix/release/xmeffect.o obj/unix/release/itorder.o obj/unix/release/itmisc.o
ar: creating lib/unix/libdumb.a
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/atexit.o src/core/atexit.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/duhlen.o src/core/duhlen.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/duhtag.o src/core/duhtag.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/dumbfile.o src/core/dumbfile.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/loadduh.o src/core/loadduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/makeduh.o src/core/makeduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/rawsig.o src/core/rawsig.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/readduh.o src/core/readduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/register.o src/core/register.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/rendduh.o src/core/rendduh.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/rendsig.o src/core/rendsig.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/unload.o src/core/unload.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/clickrem.o src/helpers/clickrem.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/memfile.o src/helpers/memfile.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/resample.o src/helpers/resample.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/sampbuf.o src/helpers/sampbuf.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/silence.o src/helpers/silence.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/stdfile.o src/helpers/stdfile.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itload.o src/it/itload.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itread.o src/it/itread.c
src/it/itread.c: In function 'it_read_old_instrument':
src/it/itread.c:324:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:353:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_read_instrument':
src/it/itread.c:434:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:453:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_read_sample_header':
src/it/itread.c:484:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:491:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_read_pattern':
src/it/itread.c:662:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'it_load_sigdata':
src/it/itread.c:847:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:880:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:881:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:922:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:1010:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:1042:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c:1093:6: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/itread.c: In function 'dumb_read_it_quick':
src/it/itread.c:1199:13: warning: pointer targets in assignment differ in signedness
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itload2.o src/it/itload2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itread2.o src/it/itread2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itrender.o src/it/itrender.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itunload.o src/it/itunload.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/loads3m.o src/it/loads3m.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/reads3m.o src/it/reads3m.c
src/it/reads3m.c: In function 'it_s3m_read_sample_header':
src/it/reads3m.c:57:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c:83:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c: In function 'it_s3m_read_pattern':
src/it/reads3m.c:235:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c: In function 'it_s3m_load_sigdata':
src/it/reads3m.c:389:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c:498:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/reads3m.c: In function 'dumb_read_s3m_quick':
src/it/reads3m.c:667:13: warning: pointer targets in assignment differ in signedness
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/loadxm.o src/it/loadxm.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/readxm.o src/it/readxm.c
src/it/readxm.c: In function 'it_xm_read_pattern':
src/it/readxm.c:212:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'it_xm_read_instrument':
src/it/readxm.c:339:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'it_xm_read_sample_header':
src/it/readxm.c:493:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'it_xm_load_sigdata':
src/it/readxm.c:634:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c:706:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readxm.c: In function 'dumb_read_xm_quick':
src/it/readxm.c:1004:13: warning: pointer targets in assignment differ in signedness
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/loadmod.o src/it/loadmod.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/readmod.o src/it/readmod.c
src/it/readmod.c: In function 'it_mod_read_pattern':
src/it/readmod.c:41:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c:44:4: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c:48:3: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'it_mod_read_sample_header':
src/it/readmod.c:134:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'dumbfile_buffer_mod':
src/it/readmod.c:318:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'it_mod_load_sigdata':
src/it/readmod.c:363:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c:491:2: warning: pointer targets in passing argument 1 of 'dumbfile_getnc' differ in signedness
include/dumb.h:183:6: note: expected 'char *' but argument is of type 'unsigned char *'
src/it/readmod.c: In function 'dumb_read_mod_quick':
src/it/readmod.c:601:13: warning: pointer targets in assignment differ in signedness
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/loads3m2.o src/it/loads3m2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/reads3m2.o src/it/reads3m2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/loadxm2.o src/it/loadxm2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/readxm2.o src/it/readxm2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/loadmod2.o src/it/loadmod2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/readmod2.o src/it/readmod2.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/xmeffect.o src/it/xmeffect.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itorder.o src/it/itorder.c
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -DDEBUGMODE=1 -g3 -c -o obj/unix/debug/itmisc.o src/it/itmisc.c
ar rs lib/unix/libdumbd.a obj/unix/debug/atexit.o obj/unix/debug/duhlen.o obj/unix/debug/duhtag.o obj/unix/debug/dumbfile.o obj/unix/debug/loadduh.o obj/unix/debug/makeduh.o obj/unix/debug/rawsig.o obj/unix/debug/readduh.o obj/unix/debug/register.o obj/unix/debug/rendduh.o obj/unix/debug/rendsig.o obj/unix/debug/unload.o obj/unix/debug/clickrem.o obj/unix/debug/memfile.o obj/unix/debug/resample.o obj/unix/debug/sampbuf.o obj/unix/debug/silence.o obj/unix/debug/stdfile.o obj/unix/debug/itload.o obj/unix/debug/itread.o obj/unix/debug/itload2.o obj/unix/debug/itread2.o obj/unix/debug/itrender.o obj/unix/debug/itunload.o obj/unix/debug/loads3m.o obj/unix/debug/reads3m.o obj/unix/debug/loadxm.o obj/unix/debug/readxm.o obj/unix/debug/loadmod.o obj/unix/debug/readmod.o obj/unix/debug/loads3m2.o obj/unix/debug/reads3m2.o obj/unix/debug/loadxm2.o obj/unix/debug/readxm2.o obj/unix/debug/loadmod2.o obj/unix/debug/readmod2.o obj/unix/debug/xmeffect.o obj/unix/debug/itorder.o obj/unix/debug/itmisc.o
ar: creating lib/unix/libdumbd.a
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c examples/dumbout.c -o examples/dumbout.o
gcc examples/dumbout.o lib/unix/libdumb.a -o examples/dumbout -s -lm
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c examples/dumb2wav.c -o examples/dumb2wav.o
gcc examples/dumb2wav.o lib/unix/libdumb.a -o examples/dumb2wav -s -lm
make[2]: Nothing to be done for `core-headers'.
gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -Wno-missing-declarations -c -o obj/unix/release/alplay.o src/allegro/alplay.c
src/allegro/alplay.c:22:21: fatal error: allegro.h: No such file or directory
compilation terminated.
make[2]: *** [obj/unix/release/alplay.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
 
Old 01-16-2014, 12:42 AM   #3
l0p3n
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu
Posts: 27

Rep: Reputation: Disabled
Did you install the build dependencies? You can find a list of the dependencies for Debian at http://wiki.allegro.cc/index.php?tit...N/Linux/Debian

In case you haven't installed the dependencies then these links might help you:
- http://www.debian.org/distrib/packages - Check the files included in the required Debian packages.
- http://packages.slackware.com/ - Find Slackware packages by content.

Last edited by l0p3n; 01-16-2014 at 12:44 AM.
 
Old 01-16-2014, 02:45 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
There is a SlackBuild for Allegro:
http://slackbuilds.org/repository/13...aries/allegro/
 
Old 01-19-2014, 12:35 AM   #5
AngryAngry
Member
 
Registered: Jan 2011
Posts: 67

Original Poster
Rep: Reputation: 0
Unfortunately the slack package was version 4, I have Allegro version 5.
Also when I opened it - there didn't seem to be much inside, and no instructions for making at all.

I just think I need to know where to specify an install directory for Allegro & dependencies.
I have no idea where to put gcc programming libraries, I assume cmake builds the source and make install puts them into the correct directories.
But I'm a noob.
 
Old 01-19-2014, 07:09 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Hit the Report button, and ask for this thread to be moved to the Slackware forum.
 
Old 01-20-2014, 06:55 PM   #7
AngryAngry
Member
 
Registered: Jan 2011
Posts: 67

Original Poster
Rep: Reputation: 0
Actually I just found the Allegro.h libraries.
I think gcc (or Emacs) need to be told where they are (put into path?).

I might start a different thread, and I will email the sites concerning those error messages I received.
 
Old 02-04-2014, 04:10 AM   #8
AngryAngry
Member
 
Registered: Jan 2011
Posts: 67

Original Poster
Rep: Reputation: 0
Apparently after making the program I need to run:
sudo ldconfig

sadly this was no included in the installation instructions!!!! RAGE
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors in Allegro in a C++ program, compiled with gcc, in a Linux console AlegroGuy Programming 9 11-17-2010 07:17 PM
Libraries and dependencies 200mg Linux - Newbie 2 12-08-2006 11:12 AM
Solving dependencies of libraries executive Linux - Software 1 03-25-2005 07:00 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Libraries and Dependencies mawarsha Linux - General 3 03-02-2003 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration