Homebrew checking for png_write_row in -lpng... no

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
Hi there, I am in need of assistance. at this point I am pretty sure I am doing something wrong.
I am trying to build enough of xpdf for 3ds to be able to perform pdftopng (program in xpdf).
it requires libpng but it fails this "checking for png_write_row in -lpng... no" check. everytime no matter what i do.
this is a repository with the code i use to fail building. (xpdf has --libdir --includedir --with-freetype2-includes flags with absolute path)
https://github.com/Theyrealone/helpxpdflibpng

to use (requires libpng,freetype)
$ make xpdf

Thanks in advance for any help.
 

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
export PORTLIBS_PATH=$DEVKITPRO/portlibs
export PATH=$DEVKITARM/bin:$PORTLIBS_PATH/3ds/bin:$PORTLIBS_PATH/armv6k/bin:$PATH
export PKG_CONFIG=$PWD/arm-none-eabi-pkg-config

export CFLAGS="-march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections"
export CPPFLAGS="-I$PORTLIBS_PATH/armv6k/include"
export LDFLAGS="-L$PORTLIBS_PATH/armv6k/lib"
cd libpng-1.6.23
./configure --prefix=$PORTLIBS_PATH/armv6k --host=arm-none-eabi --disable-shared --enable-static
make && make install

running these commands personally in terminal result in the same output(i guess it should, Makefile already contain those)

checking png.h presence... yes
checking for png.h... yes
checking for png_write_row in -lpng... no
...
configure: WARNING: Couldn't find libpng -- you will not be able to build pdftohtml or pdftopng
...
/opt/devkitPro/portlibs/armv6k/lib/libfreetype.a(sfnt.o): In function `error_callback':
sfnt.c:(.text.error_callback+0x8): undefined reference to `png_get_error_ptr'
sfnt.c:(.text.error_callback+0x20): undefined reference to `png_set_longjmp_fn'
/opt/devkitPro/portlibs/armv6k/lib/libfreetype.a(sfnt.o): In function `Load_SBit_Png.isra.17':
sfnt.c:(.text.Load_SBit_Png.isra.17+0xa0): undefined reference to `png_create_read_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0xb4): undefined reference to `png_create_info_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0xd0): undefined reference to `png_set_longjmp_fn'
sfnt.c:(.text.Load_SBit_Png.isra.17+0xf4): undefined reference to `png_destroy_read_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x118): undefined reference to `png_set_read_fn'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x124): undefined reference to `png_read_info'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x154): undefined reference to `png_get_IHDR'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x1e0): undefined reference to `png_destroy_read_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x22c): undefined reference to `png_set_expand_gray_1_2_4_to_8'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x23c): undefined reference to `png_get_valid'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x278): undefined reference to `png_set_interlace_handling'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x288): undefined reference to `png_set_filler'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x294): undefined reference to `png_read_update_info'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x2c8): undefined reference to `png_get_IHDR'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x2f8): undefined reference to `png_set_read_user_transform_fn'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x380): undefined reference to `png_read_image'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x398): undefined reference to `png_read_end'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3a4): undefined reference to `png_set_gray_to_rgb'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3b0): undefined reference to `png_set_packing'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3bc): undefined reference to `png_set_tRNS_to_alpha'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3c8): undefined reference to `png_set_strip_16'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3d8): undefined reference to `png_set_palette_to_rgb'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x408): undefined reference to `png_set_read_user_transform_fn'
/opt/devkitPro/portlibs/armv6k/lib/libfreetype.a(sfnt.o): In function `read_data_from_FT_Stream':
sfnt.c:(.text.read_data_from_FT_Stream+0x10): undefined reference to `png_get_io_ptr'
sfnt.c:(.text.read_data_from_FT_Stream+0x48): undefined reference to `png_get_error_ptr'
sfnt.c:(.text.read_data_from_FT_Stream+0x5c): undefined reference to `png_error'
collect2: error: ld returned 1 exit status

--------------------- MERGED ---------------------------

$./configure --prefix=$PORTLIBS_PATH/armv6k --host=arm-none-eabi --disable-shared --enable-static >> configurelog.txt
configure: WARNING: using cross tools not prefixed with host triplet
configure: WARNING: not building timepng

configurelog.txt:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-none-eabi-strip... arm-none-eabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-none-eabi-gcc... arm-none-eabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-none-eabi-gcc accepts -g... yes
checking for arm-none-eabi-gcc option to accept ISO C89... none needed
checking whether arm-none-eabi-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of arm-none-eabi-gcc... gcc3
checking dependency style of arm-none-eabi-gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-none-eabi
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by arm-none-eabi-gcc... /opt/devkitPro/devkitARM/arm-none-eabi/bin/ld
checking if the linker (/opt/devkitPro/devkitARM/arm-none-eabi/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... arm-none-eabi-gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /opt/devkitPro/devkitARM/bin/arm-none-eabi-nm -B
checking the name lister (/opt/devkitPro/devkitARM/bin/arm-none-eabi-nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-none-eabi format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/devkitPro/devkitARM/arm-none-eabi/bin/ld option to reload object files... -r
checking for arm-none-eabi-objdump... arm-none-eabi-objdump
checking how to recognize dependent libraries... unknown
checking for arm-none-eabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-none-eabi-ar... arm-none-eabi-ar
checking for archiver @FILE support... @
checking for arm-none-eabi-strip... (cached) arm-none-eabi-strip
checking for arm-none-eabi-ranlib... arm-none-eabi-ranlib
checking command to parse /opt/devkitPro/devkitARM/bin/arm-none-eabi-nm -B output from arm-none-eabi-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-none-eabi-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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... no
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if arm-none-eabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-none-eabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-none-eabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-none-eabi-gcc static flag -static works... yes
checking if arm-none-eabi-gcc supports -c -o file.o... yes
checking if arm-none-eabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-none-eabi-gcc linker (/opt/devkitPro/devkitARM/arm-none-eabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking that AWK works... ok
checking if we need to force back C standard to C89... no
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict
checking for working strtod... no
checking for pow... no
checking for pow in -lm... yes
checking for memset... yes
checking for pow... (cached) no
checking for pow in -lm... (cached) yes
checking for clock_gettime... no
checking for zlibVersion in -lz... yes
checking for feenableexcept in -lm... no
checking for feenableexcept... no
checking if using Solaris linker... no
checking if libraries can be versioned... yes
checking for symbol prefix...
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: Extra options for compiler:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
 
Last edited by Theyrealone,
D

Deleted User

Guest
Try running this:

https://github.com/xerpi/3ds_portlibs

I assume you are running on Windows, so you might also want to get wget for the Command Line (you'll have to Google this).

Anyways, after that, run "make all" (which builds and installs all libraries) and try compiling xpdf again.
 
Last edited by ,

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
Try running this:

https://github.com/xerpi/3ds_portlibs

I assume you are running on Windows, so you might also want to get wget for the Command Line (you'll have to Google this).

Anyways, after that, run "make all" (which builds and installs all libraries) and try compiling xpdf again.

I am actually running "linux mint" and I tried this both with the pre-built binaries from portlibs repository for linux and running make...

when I do ./configure without anything (building for x86) it returns "checking for png_write_row in -lpng... yes" which is very annoying because it means I am doing something wrong.

edit: my Makefile(in https://github.com/Theyrealone/helpxpdflibpng) the is edited copy from here https://github.com/Cruel/3ds_portlibs
even when removing the portlibs folder and remaking/copying nothing works.
i guess that it's either a dependency or an incorrect flag.
 
Last edited by Theyrealone,

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
the "cd libpng" line throws me off a bit, that looks wrong. Try doing "$DEVKITARM/{libpngfolder}" then continuing with MAKE && MAKE INSTALL
how does extracting libpng.tar.xz into $DEVKITARM make it any different than extracting it to $RANDOMLOCATION?:blink:
 

TricksterGuy

Well-Known Member
Newcomer
Joined
Jan 16, 2016
Messages
81
Trophies
0
Age
36
Location
California
XP
211
Country
United States
Seems like you will need to pass these flags when invoking configure

--with-libpng-library=PATH
use libpng library (PNG library)
--with-libpng-includes=DIR
set directory for libpng headers

The reason why ./configure with no options works is probably because it knows to search /usr/include and /usr/lib for libpng, when invoking it to cross compile it is probably grabbing the ones in /usr seeing that it is incompatible and then quitting on you.
 

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
when invoking it to cross compile it is probably grabbing the ones in /usr seeing that it is incompatible and then quitting on you.
I didn't know that.

I tried to configure with --with-libpng-library=$DEVKITPRO/portlibs/armv6k/lib --with-libpng-include=$DEVKITPRO/portlibs/armv6k/include
(libpng.a , libpng.la , libpng16.a , libpng16.la exists in /lib/)
and it does not detect libpng. it does detect freetype when I use --with-freetype-* that otherwise also return false (unless I use --libdir or --includerdir then freetype is detected again)
 
Last edited by Theyrealone,

TricksterGuy

Well-Known Member
Newcomer
Joined
Jan 16, 2016
Messages
81
Trophies
0
Age
36
Location
California
XP
211
Country
United States
I didn't know that.

I tried to configure with --with-libpng-library=$DEVKITPRO/portlibs/armv6k/lib --with-libpng-include=$DEVKITPRO/portlibs/armv6k/include
(libpng.a , libpng.la , libpng16.a , libpng16.la exists in /lib/)
and it does not detect libpng. it does detect freetype when I use --with-freetype-* that otherwise also return false (unless I use --libdir or --includerdir then freetype is detected again)

In these situations its useful to check config.log

I have a similar build environment set up and looking there produces this

Code:
configure:7668: checking whether to use png library
configure:7675: result: maybe
configure:7724: checking where to find the png header files
configure:7731: result:
configure:7750: checking png.h usability
configure:7750: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -O3 -mword-relocations -fomit-frame-pointer -ffast-math -I/home/brandon/devkitPro/portlibs/armv6k/include   conftest.c >&5
configure:7750: $? = 0
configure:7750: result: yes
configure:7750: checking png.h presence
configure:7750: arm-none-eabi-gcc -E -I/home/brandon/devkitPro/portlibs/armv6k/include   conftest.c
configure:7750: $? = 0
configure:7750: result: yes
configure:7750: checking for png.h
configure:7750: result: yes
configure:7779: checking for png_write_row in -lpng
configure:7804: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -O3 -mword-relocations -fomit-frame-pointer -ffast-math -I/home/brandon/devkitPro/portlibs/armv6k/include -L/home/brandon/devkitPro/portlibs/armv6k/lib conftest.c -lpng   -lpng -lz  >&5
/home/brandon/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008020
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_build_16bit_table':
png.c:(.text+0x12c): undefined reference to `pow'
png.c:(.text+0x13c): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_muldiv.part.9':
png.c:(.text+0x89c): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_gamma_8bit_correct.part.15':
png.c:(.text+0x920): undefined reference to `pow'
png.c:(.text+0x934): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_colorspace_set_gamma':
png.c:(.text+0x1a98): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_colorspace_set_sRGB':
png.c:(.text+0x1d60): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_colorspace_set_rgb_coefficients':
png.c:(.text+0x2ba0): undefined reference to `floor'
png.c:(.text+0x2c18): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o):png.c:(.text+0x2c90): more undefined references to `floor' follow
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_gamma_8bit_correct':
png.c:(.text+0x640c): undefined reference to `pow'
png.c:(.text+0x6420): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_gamma_16bit_correct':
png.c:(.text+0x6498): undefined reference to `pow'
png.c:(.text+0x64ac): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_gamma_correct':
png.c:(.text+0x6540): undefined reference to `pow'
png.c:(.text+0x6554): undefined reference to `floor'
png.c:(.text+0x659c): undefined reference to `pow'
png.c:(.text+0x65b0): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o): In function `png_build_gamma_table':
png.c:(.text+0x67b0): undefined reference to `floor'
png.c:(.text+0x68c0): undefined reference to `floor'
png.c:(.text+0x6908): undefined reference to `pow'
png.c:(.text+0x6918): undefined reference to `floor'
png.c:(.text+0x6a28): undefined reference to `pow'
png.c:(.text+0x6a38): undefined reference to `floor'
png.c:(.text+0x6bd8): undefined reference to `floor'
png.c:(.text+0x6c80): undefined reference to `floor'
png.c:(.text+0x6d44): undefined reference to `floor'
png.c:(.text+0x6dbc): undefined reference to `floor'
/home/brandon/devkitPro/portlibs/armv6k/lib/libpng.a(png.o):png.c:(.text+0x6e60): more undefined references to `floor' follow
collect2: error: ld returned 1 exit status
configure:7804: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/home/brandon/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| #define HAVE_FSEEKO 1
| #define HAVE_PNG_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char png_write_row ();
| int
| main ()
| {
| return png_write_row ();
|   ;
|   return 0;
| }
configure:7813: result: no
configure:7831: result: not using png library

looks like the example program needs to link with -lm. Haha I don't have any experience debugging configure scripts so thats all I got for you for now.

EDIT: It is a bug in the configure script.

modify the following line in configure.in to this

smr_CHECK_LIB(libpng, png, [PNG library], png_write_row, png.h, -lz -lm)

Run autoconf to regenerate the configure script. Then try again. I was able to remove the warning message. You should be able to run make afterward.
 
Last edited by TricksterGuy,
  • Like
Reactions: Theyrealone

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
EDIT: It is a bug in the configure script.

modify the following line in configure.in to this

smr_CHECK_LIB(libpng, png, [PNG library], png_write_row, png.h, -lz -lm)

Run autoconf to regenerate the configure script. Then try again. I was able to remove the warning message. You should be able to run make afterward.


checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_write_row in -lpng... yes

THANK YOU! THANK YOU!

btw how do I get output like yours?
Code:
png.c:(.text+0x6d44):undefined reference to `floor'
png.c:(.text+0x6dbc): undefined reference to `floor
..
configure: failed program was:|/* confdefs.h */|#define PACKAGE_NAME ""|#define PACKAGE_TARNAME ""|#define PACKAGE_VERSION ""|#define PACKAGE_STRING ""
...
 
Last edited by Theyrealone,

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
$ ./configure --prefix=$(PORTLIBS_PATH)/armv6k --host=arm-none-eabi --libdir=/opt/devkitPro/portlibs/armv6k/lib --includedir=/opt/devkitPro/portlibs/armv6k/include/ --with-freetype2-includes=/opt/devkitPro/portlibs/armv6k/include/freetype2

Code:
hecking for arm-none-eabi-gcc... arm-none-eabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-none-eabi-gcc accepts -g... yes
checking for arm-none-eabi-gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking for arm-none-eabi-gcc option to accept ISO C99... none needed
checking for arm-none-eabi-gcc option to accept ISO Standard C... (cached) none needed
checking for arm-none-eabi-g++... arm-none-eabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-none-eabi-g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-none-eabi-ranlib... arm-none-eabi-ranlib
checking for OS/2 (with EMX)... no
checking for DOS (with DJGPP)... no
checking how to run the C preprocessor... arm-none-eabi-gcc -E
checking for X... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... no
checking for gethostbyname in -lbsd... no
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... problem
checking FD_ZERO and strings.h or bstring.h... not needed
checking for rewinddir... yes
checking for popen... no
checking for mkstemp... yes
checking for mkstemps... yes
checking whether select takes fd_set arguments... no
checking for std::sort... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseek64... no
checking for ftell64... no
checking whether to use freetype2 library... maybe
checking where to find the freetype2 header files... (cached) /opt/devkitPro/portlibs/armv6k/include/freetype2
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FT_Get_Name_Index in -lfreetype... yes
using freetype2 library
checking whether to use libpng library... maybe
checking where to find the libpng header files...
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_write_row in -lpng... yes
using libpng library
checking whether to use libpaper library... maybe
checking where to find the libpaper header files...
checking paper.h usability... no
checking paper.h presence... no
checking for paper.h... no
not using libpaper library
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating xpdf/Makefile
config.status: creating aconf.h
config.status: aconf.h is unchanged
configure: WARNING: Couldn't find X
configure: WARNING: Couldn't find Motif
configure: WARNING: -- You will be able to compile pdftops, pdftotext,
        pdfinfo, pdffonts, pdfdetach, and pdfimages, but not xpdf
        or pdftoppm
xpdf-noextract-configonly Finished!

edit: when building with make still there are errors such as, but they return google results...
Code:
/home/they/3ds/xpdf_arm-none-eabi/xpdf-3.04/goo/gfile.cc:81: undefined reference to `getuid'
/home/they/3ds/xpdf_arm-none-eabi/xpdf-3.04/goo/gfile.cc:81: undefined reference to `getpwuid'
../goo/libGoo.a(gfile.o): In function `makePathAbsolute(GString*)':
/home/they/3ds/xpdf_arm-none-eabi/xpdf-3.04/goo/gfile.cc:413: undefined reference to `getpwnam'
/opt/devkitPro/portlibs/armv6k/lib/libfreetype.a(sfnt.o): In function `error_callback':
sfnt.c:(.text.error_callback+0x8): undefined reference to `png_get_error_ptr'
sfnt.c:(.text.error_callback+0x20): undefined reference to `png_set_longjmp_fn'
/opt/devkitPro/portlibs/armv6k/lib/libfreetype.a(sfnt.o): In function `Load_SBit_Png.isra.17':
sfnt.c:(.text.Load_SBit_Png.isra.17+0xa0): undefined reference to `png_create_read_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0xb4): undefined reference to `png_create_info_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0xd0): undefined reference to `png_set_longjmp_fn'
sfnt.c:(.text.Load_SBit_Png.isra.17+0xf4): undefined reference to `png_destroy_read_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x118): undefined reference to `png_set_read_fn'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x124): undefined reference to `png_read_info'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x154): undefined reference to `png_get_IHDR'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x1e0): undefined reference to `png_destroy_read_struct'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x22c): undefined reference to `png_set_expand_gray_1_2_4_to_8'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x23c): undefined reference to `png_get_valid'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x278): undefined reference to `png_set_interlace_handling'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x288): undefined reference to `png_set_filler'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x294): undefined reference to `png_read_update_info'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x2c8): undefined reference to `png_get_IHDR'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x2f8): undefined reference to `png_set_read_user_transform_fn'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x380): undefined reference to `png_read_image'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x398): undefined reference to `png_read_end'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3a4): undefined reference to `png_set_gray_to_rgb'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3b0): undefined reference to `png_set_packing'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3bc): undefined reference to `png_set_tRNS_to_alpha'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3c8): undefined reference to `png_set_strip_16'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x3d8): undefined reference to `png_set_palette_to_rgb'
sfnt.c:(.text.Load_SBit_Png.isra.17+0x408): undefined reference to `png_set_read_user_transform_fn'
/opt/devkitPro/portlibs/armv6k/lib/libfreetype.a(sfnt.o): In function `read_data_from_FT_Stream':
sfnt.c:(.text.read_data_from_FT_Stream+0x10): undefined reference to `png_get_io_ptr'
sfnt.c:(.text.read_data_from_FT_Stream+0x48): undefined reference to `png_get_error_ptr'
sfnt.c:(.text.read_data_from_FT_Stream+0x5c): undefined reference to `png_error'
collect2: error: ld returned 1 exit status
make[2]: *** [pdftops] Error 1
make[1]: *** [all] Error 2
make: *** [xpdf-noextract] Error 2
 
Last edited by Theyrealone,

Theyrealone

Active Member
OP
Newcomer
Joined
Oct 6, 2014
Messages
43
Trophies
0
Age
33
XP
98
Country
United States
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/opt/devkitPro/portlibs/armv6k --host=arm-none-eabi --libdir=/opt/devkitPro/portlibs/armv6k/lib --includedir=/opt/devkitPro/portlibs/armv6k/include/ --with-freetype2-includes=/opt/devkitPro/portlibs/armv6k/include/freetype2

## --------- ##
## Platform. ##
## --------- ##

hostname = they-desktop
uname -m = x86_64
uname -r = 3.19.0-32-generic
uname -s = Linux
uname -v = #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/devkitPro/devkitARM/bin
PATH: /opt/devkitPro/portlibs/3ds/bin
PATH: /opt/devkitPro/portlibs/armv6k/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /opt/devkitPro/devkitARM/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2471: checking for arm-none-eabi-gcc
configure:2487: found /opt/devkitPro/devkitARM/bin/arm-none-eabi-gcc
configure:2498: result: arm-none-eabi-gcc
configure:2767: checking for C compiler version
configure:2776: arm-none-eabi-gcc --version >&5
arm-none-eabi-gcc (devkitARM release 45) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2787: $? = 0
configure:2776: arm-none-eabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/opt/devkitPro/devkitARM/bin/../libexec/gcc/arm-none-eabi/5.3.0/lto-wrapper
Target: arm-none-eabi
Configured with: ../../gcc-5.3.0/configure --enable-languages=c,c++,objc,obj-c++ --with-gnu-as --with-gnu-ld --with-gcc --with-march=armv4t --enable-cxx-flags=-ffunction-sections --disable-libstdcxx-verbose --enable-poison-system-directories --enable-interwork --enable-multilib --disable-dependency-tracking --enable-threads --disable-win32-registry --disable-nls --disable-debug --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --target=arm-none-eabi --with-newlib --with-headers=../../newlib-2.2.0/newlib/libc/include --prefix=/opt/devkitpro/devkitARM --enable-lto --with-bugurl=http://wiki.devkitpro.org/index.php/Bug_Reports --with-pkgversion='devkitARM release 45'
Thread model: single
gcc version 5.3.0 (devkitARM release 45) 
configure:2787: $? = 0
configure:2776: arm-none-eabi-gcc -V >&5
arm-none-eabi-gcc: error: unrecognized command line option '-V'
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
configure:2787: $? = 1
configure:2776: arm-none-eabi-gcc -qversion >&5
arm-none-eabi-gcc: error: unrecognized command line option '-qversion'
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
configure:2787: $? = 1
configure:2807: checking whether the C compiler works
configure:2829: arm-none-eabi-gcc -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
configure:2833: $? = 0
configure:2881: result: yes
configure:2884: checking for C compiler default output file name
configure:2886: result: a.out
configure:2892: checking for suffix of executables
configure:2899: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
configure:2903: $? = 0
configure:2925: result: 
configure:2947: checking whether we are cross compiling
configure:2955: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008020
configure:2959: $? = 0
configure:2966: ./conftest
./configure: line 2968: ./conftest: cannot execute binary file: Exec format error
configure:2970: $? = 126
configure:2985: result: yes
configure:2990: checking for suffix of object files
configure:3012: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
configure:3016: $? = 0
configure:3037: result: o
configure:3041: checking whether we are using the GNU C compiler
configure:3060: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
configure:3060: $? = 0
configure:3069: result: yes
configure:3078: checking whether arm-none-eabi-gcc accepts -g
configure:3098: arm-none-eabi-gcc -c -g -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
configure:3098: $? = 0
configure:3139: result: yes
configure:3156: checking for arm-none-eabi-gcc option to accept ISO C89
configure:3219: arm-none-eabi-gcc  -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
configure:3219: $? = 0
configure:3232: result: none needed
configure:3253: checking for library containing strerror
configure:3284: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
configure:3284: $? = 0
configure:3301: result: none required
configure:3313: checking for arm-none-eabi-gcc option to accept ISO C99
configure:3462: arm-none-eabi-gcc  -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
configure:3462: $? = 0
configure:3475: result: none needed
configure:3583: checking for arm-none-eabi-gcc option to accept ISO Standard C
configure:3594: result: none needed
configure:3618: checking for arm-none-eabi-g++
configure:3634: found /opt/devkitPro/devkitARM/bin/arm-none-eabi-g++
configure:3645: result: arm-none-eabi-g++
configure:3716: checking for C++ compiler version
configure:3725: arm-none-eabi-g++ --version >&5
arm-none-eabi-g++ (devkitARM release 45) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3736: $? = 0
configure:3725: arm-none-eabi-g++ -v >&5
Using built-in specs.
COLLECT_GCC=arm-none-eabi-g++
COLLECT_LTO_WRAPPER=/opt/devkitPro/devkitARM/bin/../libexec/gcc/arm-none-eabi/5.3.0/lto-wrapper
Target: arm-none-eabi
Configured with: ../../gcc-5.3.0/configure --enable-languages=c,c++,objc,obj-c++ --with-gnu-as --with-gnu-ld --with-gcc --with-march=armv4t --enable-cxx-flags=-ffunction-sections --disable-libstdcxx-verbose --enable-poison-system-directories --enable-interwork --enable-multilib --disable-dependency-tracking --enable-threads --disable-win32-registry --disable-nls --disable-debug --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --target=arm-none-eabi --with-newlib --with-headers=../../newlib-2.2.0/newlib/libc/include --prefix=/opt/devkitpro/devkitARM --enable-lto --with-bugurl=http://wiki.devkitpro.org/index.php/Bug_Reports --with-pkgversion='devkitARM release 45'
Thread model: single
gcc version 5.3.0 (devkitARM release 45) 
configure:3736: $? = 0
configure:3725: arm-none-eabi-g++ -V >&5
arm-none-eabi-g++: error: unrecognized command line option '-V'
arm-none-eabi-g++: fatal error: no input files
compilation terminated.
configure:3736: $? = 1
configure:3725: arm-none-eabi-g++ -qversion >&5
arm-none-eabi-g++: error: unrecognized command line option '-qversion'
arm-none-eabi-g++: fatal error: no input files
compilation terminated.
configure:3736: $? = 1
configure:3740: checking whether we are using the GNU C++ compiler
configure:3759: arm-none-eabi-g++ -c  -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
configure:3759: $? = 0
configure:3768: result: yes
configure:3777: checking whether arm-none-eabi-g++ accepts -g
configure:3797: arm-none-eabi-g++ -c -g -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
configure:3797: $? = 0
configure:3838: result: yes
configure:3904: checking for a BSD-compatible install
configure:3972: result: /usr/bin/install -c
configure:3986: checking for arm-none-eabi-ranlib
configure:4002: found /opt/devkitPro/devkitARM/bin/arm-none-eabi-ranlib
configure:4013: result: arm-none-eabi-ranlib
configure:4081: checking for OS/2 (with EMX)
configure:4097: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
conftest.c: In function 'main':
conftest.c:15:1: error: '__EMX__' undeclared (first use in this function)
 __EMX__
 ^
conftest.c:15:1: note: each undeclared identifier is reported only once for each function it appears in
configure:4097: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| __EMX__
|   ;
|   return 0;
| }
configure:4104: result: no
configure:4112: checking for DOS (with DJGPP)
configure:4128: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
conftest.c: In function 'main':
conftest.c:15:1: error: '__DJGPP__' undeclared (first use in this function)
 __DJGPP__
 ^
conftest.c:15:1: note: each undeclared identifier is reported only once for each function it appears in
configure:4128: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| __DJGPP__
|   ;
|   return 0;
| }
configure:4135: result: no
configure:4154: checking how to run the C preprocessor
configure:4185: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include conftest.c
configure:4185: $? = 0
configure:4199: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4224: result: arm-none-eabi-gcc -E
configure:4244: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include conftest.c
configure:4244: $? = 0
configure:4258: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4258: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4287: checking for X
configure:4395: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include conftest.c
conftest.c:11:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
configure:4395: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| /* end confdefs.h.  */
| #include <X11/Xlib.h>
configure:4426: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c -lX11  >&5
conftest.c:11:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
configure:4426: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| /* end confdefs.h.  */
| #include <X11/Xlib.h>
| int
| main ()
| {
| XrmInitialize ()
|   ;
|   return 0;
| }
configure:4465: result: no
configure:4973: checking for dirent.h that defines DIR
configure:4992: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
configure:4992: $? = 0
configure:5000: result: yes
configure:5013: checking for library containing opendir
configure:5044: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008020
configure:5044: $? = 0
configure:5061: result: none required
configure:5137: checking for gethostbyname
configure:5137: arm-none-eabi-g++ -o conftest -g -O2 -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.cpp  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
/tmp/ccUjwzbm.o: In function `main':
/home/they/3ds/xpdf_arm-none-eabi/xpdf-3.04/conftest.cpp:47: undefined reference to `gethostbyname'
collect2: error: ld returned 1 exit status
configure:5137: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define gethostbyname innocuous_gethostbyname
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char gethostbyname (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef gethostbyname
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyname ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_gethostbyname || defined __stub___gethostbyname
| choke me
| #endif
| 
| int
| main ()
| {
| return gethostbyname ();
|   ;
|   return 0;
| }
configure:5137: result: no
configure:5143: checking for gethostbyname in -lbsd
configure:5168: arm-none-eabi-g++ -o conftest -g -O2 -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.cpp -lbsd   >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: cannot find -lbsd
collect2: error: ld returned 1 exit status
configure:5168: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyname ();
| int
| main ()
| {
| return gethostbyname ();
|   ;
|   return 0;
| }
configure:5177: result: no
configure:5185: checking select() and fd_set in sys/select.h and sys/bsdtypes.h
configure:5202: arm-none-eabi-g++ -c -g -O2 -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:21:33: error: 'select' was not declared in this scope
 select(0, NULL, NULL, NULL, NULL);
                                 ^
configure:5202: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| #include <stddef.h>
| #include <unistd.h>
| #include <sys/types.h>
| int
| main ()
| {
| fd_set fds;
| select(0, NULL, NULL, NULL, NULL);
|   ;
|   return 0;
| }
configure:5228: arm-none-eabi-g++ -c -g -O2 -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
conftest.cpp:17:24: fatal error: sys/select.h: No such file or directory
compilation terminated.
configure:5228: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| #include <stddef.h>
| #include <unistd.h>
| #include <sys/types.h>
| #include <sys/select.h>
| int
| main ()
| {
| fd_set fds;
| select(0, NULL, NULL, NULL, NULL);
|   ;
|   return 0;
| }
configure:5256: arm-none-eabi-g++ -c -g -O2 -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
conftest.cpp:17:26: fatal error: sys/bsdtypes.h: No such file or directory
compilation terminated.
configure:5256: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| #include <stddef.h>
| #include <unistd.h>
| #include <sys/types.h>
| #include <sys/bsdtypes.h>
| int
| main ()
| {
| fd_set fds;
| select(0, NULL, NULL, NULL, NULL);
|   ;
|   return 0;
| }
configure:5268: result: problem
configure:5274: checking FD_ZERO and strings.h or bstring.h
configure:5291: arm-none-eabi-g++ -c -g -O2 -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
configure:5291: $? = 0
configure:5298: result: not needed
configure:5365: checking for rewinddir
configure:5365: arm-none-eabi-g++ -o conftest -g -O2 -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.cpp  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
configure:5365: $? = 0
configure:5365: result: yes
configure:5424: checking for popen
configure:5424: arm-none-eabi-g++ -o conftest -g -O2 -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.cpp  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
/tmp/ccAdnr0M.o: In function `main':
/home/they/3ds/xpdf_arm-none-eabi/xpdf-3.04/conftest.cpp:48: undefined reference to `popen'
collect2: error: ld returned 1 exit status
configure:5424: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| /* end confdefs.h.  */
| /* Define popen to an innocuous variant, in case <limits.h> declares popen.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define popen innocuous_popen
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char popen (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef popen
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char popen ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_popen || defined __stub___popen
| choke me
| #endif
| 
| int
| main ()
| {
| return popen ();
|   ;
|   return 0;
| }
configure:5424: result: no
configure:5433: checking for mkstemp
configure:5450: arm-none-eabi-g++ -o conftest -g -O2 -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.cpp  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:19:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
 mkstemp("foo");
              ^
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
configure:5450: $? = 0
configure:5458: result: yes
configure:5464: checking for mkstemps
configure:5481: arm-none-eabi-g++ -o conftest -g -O2 -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.cpp  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:20:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
 mkstemps("foo", 0);
                  ^
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
configure:5481: $? = 0
configure:5489: result: yes
configure:5496: checking whether select takes fd_set arguments
configure:5518: arm-none-eabi-g++ -c -g -O2 -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:26:30: error: 'select' was not declared in this scope
 select(1, &fds, &fds, &fds, 0);
                              ^
configure:5518: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <sys/time.h>
| #include <unistd.h>
| #ifdef HAVE_SYS_SELECT_H
| #include <sys/select.h>
| #endif
| int
| main ()
| {
| fd_set fds;
| select(1, &fds, &fds, &fds, 0);
|   ;
|   return 0;
| }
configure:5525: result: no
configure:5532: checking for std::sort
configure:5552: arm-none-eabi-g++ -c -g -O2 -I/opt/devkitPro/portlibs/armv6k/include conftest.cpp >&5
configure:5552: $? = 0
configure:5559: result: yes
configure:5580: checking for special C compiler options needed for large files
configure:5625: result: no
configure:5631: checking for _FILE_OFFSET_BITS value needed for large files
configure:5656: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
conftest.c:24:7: error: size of array 'off_t_is_large' is negative
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
       ^
configure:5656: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  /* Check that off_t can represent 2**63 - 1 correctly.
|     We can't simply define LARGE_OFF_T to be 9223372036854775807,
|     since some C++ compilers masquerading as C compilers
|     incorrectly reject 9223372036854775807.  */
| #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|               && LARGE_OFF_T % 2147483647 == 1)
|              ? 1 : -1];
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:5680: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
conftest.c:25:7: error: size of array 'off_t_is_large' is negative
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
       ^
configure:5680: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| /* end confdefs.h.  */
| #define _FILE_OFFSET_BITS 64
| #include <sys/types.h>
|  /* Check that off_t can represent 2**63 - 1 correctly.
|     We can't simply define LARGE_OFF_T to be 9223372036854775807,
|     since some C++ compilers masquerading as C compilers
|     incorrectly reject 9223372036854775807.  */
| #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|               && LARGE_OFF_T % 2147483647 == 1)
|              ? 1 : -1];
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:5688: result: unknown
configure:5700: checking for _LARGE_FILES value needed for large files
configure:5725: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
conftest.c:24:7: error: size of array 'off_t_is_large' is negative
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
       ^
configure:5725: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  /* Check that off_t can represent 2**63 - 1 correctly.
|     We can't simply define LARGE_OFF_T to be 9223372036854775807,
|     since some C++ compilers masquerading as C compilers
|     incorrectly reject 9223372036854775807.  */
| #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|               && LARGE_OFF_T % 2147483647 == 1)
|              ? 1 : -1];
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:5749: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include conftest.c >&5
conftest.c:25:7: error: size of array 'off_t_is_large' is negative
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
       ^
configure:5749: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| /* end confdefs.h.  */
| #define _LARGE_FILES 1
| #include <sys/types.h>
|  /* Check that off_t can represent 2**63 - 1 correctly.
|     We can't simply define LARGE_OFF_T to be 9223372036854775807,
|     since some C++ compilers masquerading as C compilers
|     incorrectly reject 9223372036854775807.  */
| #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|               && LARGE_OFF_T % 2147483647 == 1)
|              ? 1 : -1];
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:5757: result: unknown
configure:5773: checking for _LARGEFILE_SOURCE value needed for large files
configure:5792: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008020
configure:5792: $? = 0
configure:5820: result: no
configure:5843: checking for fseek64
configure:5843: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
/tmp/ccdMK7cH.o: In function `main':
conftest.c:(.text.startup.main+0x4): undefined reference to `fseek64'
collect2: error: ld returned 1 exit status
configure:5843: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| #define HAVE_FSEEKO 1
| /* end confdefs.h.  */
| /* Define fseek64 to an innocuous variant, in case <limits.h> declares fseek64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define fseek64 innocuous_fseek64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char fseek64 (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef fseek64
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fseek64 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_fseek64 || defined __stub___fseek64
| choke me
| #endif
| 
| int
| main ()
| {
| return fseek64 ();
|   ;
|   return 0;
| }
configure:5843: result: no
configure:5856: checking for ftell64
configure:5856: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018
/tmp/ccxWTOYH.o: In function `main':
conftest.c:(.text.startup.main+0x4): undefined reference to `ftell64'
collect2: error: ld returned 1 exit status
configure:5856: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| #define HAVE_FSEEKO 1
| /* end confdefs.h.  */
| /* Define ftell64 to an innocuous variant, in case <limits.h> declares ftell64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define ftell64 innocuous_ftell64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char ftell64 (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef ftell64
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char ftell64 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_ftell64 || defined __stub___ftell64
| choke me
| #endif
| 
| int
| main ()
| {
| return ftell64 ();
|   ;
|   return 0;
| }
configure:5856: result: no
configure:7453: checking whether to use freetype2 library
configure:7460: result: maybe
configure:7509: checking where to find the freetype2 header files
configure:7516: result: /opt/devkitPro/portlibs/armv6k/include/freetype2
configure:7535: checking ft2build.h usability
configure:7535: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -I/opt/devkitPro/portlibs/armv6k/include/freetype2  conftest.c >&5
configure:7535: $? = 0
configure:7535: result: yes
configure:7535: checking ft2build.h presence
configure:7535: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include -I/opt/devkitPro/portlibs/armv6k/include/freetype2  conftest.c
configure:7535: $? = 0
configure:7535: result: yes
configure:7535: checking for ft2build.h
configure:7535: result: yes
configure:7564: checking for FT_Get_Name_Index in -lfreetype
configure:7589: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c -lfreetype -I/opt/devkitPro/portlibs/armv6k/include/freetype2  -lfreetype -lm  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008020
configure:7589: $? = 0
configure:7598: result: yes
configure:7609: result: using freetype2 library
configure:7668: checking whether to use libpng library
configure:7675: result: maybe
configure:7724: checking where to find the libpng header files
configure:7731: result: 
configure:7750: checking png.h usability
configure:7750: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include   conftest.c >&5
configure:7750: $? = 0
configure:7750: result: yes
configure:7750: checking png.h presence
configure:7750: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include   conftest.c
configure:7750: $? = 0
configure:7750: result: yes
configure:7750: checking for png.h
configure:7750: result: yes
configure:7779: checking for png_write_row in -lpng
configure:7804: arm-none-eabi-gcc -o conftest -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include -L/opt/devkitPro/portlibs/armv6k/lib conftest.c -lpng   -lpng -lz -lm  >&5
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008020
configure:7804: $? = 0
configure:7813: result: yes
configure:7824: result: using libpng library
configure:7877: checking whether to use libpaper library
configure:7884: result: maybe
configure:7933: checking where to find the libpaper header files
configure:7940: result: 
configure:7959: checking paper.h usability
configure:7959: arm-none-eabi-gcc -c -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections -I/opt/devkitPro/portlibs/armv6k/include   conftest.c >&5
conftest.c:56:19: fatal error: paper.h: No such file or directory
compilation terminated.
configure:7959: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| #define HAVE_FSEEKO 1
| #define HAVE_FT2BUILD_H 1
| #define HAVE_FREETYPE_FREETYPE_H 1
| #define HAVE_SPLASH 1
| #define HAVE_PNG_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <paper.h>
configure:7959: result: no
configure:7959: checking paper.h presence
configure:7959: arm-none-eabi-gcc -E -I/opt/devkitPro/portlibs/armv6k/include   conftest.c
conftest.c:23:19: fatal error: paper.h: No such file or directory
compilation terminated.
configure:7959: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define APPDEFDIR ""
| #define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
| #define X_DISPLAY_MISSING 1
| #define HAVE_DIRENT_H 1
| #define HAVE_REWINDDIR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MKSTEMPS 1
| #define SELECT_TAKES_INT 1
| #define HAVE_STD_SORT 1
| #define HAVE_FSEEKO 1
| #define HAVE_FT2BUILD_H 1
| #define HAVE_FREETYPE_FREETYPE_H 1
| #define HAVE_SPLASH 1
| #define HAVE_PNG_H 1
| /* end confdefs.h.  */
| #include <paper.h>
configure:7959: result: no
configure:7959: checking for paper.h
configure:7959: result: no
configure:8040: result: not using libpaper library
configure:8193: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on they-desktop

config.status:844: creating Makefile
config.status:947: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status:844: creating goo/Makefile
config.status:844: creating fofi/Makefile
config.status:844: creating splash/Makefile
config.status:844: creating xpdf/Makefile
config.status:844: creating aconf.h
config.status:1019: aconf.h is unchanged
configure:9364: WARNING: Couldn't find X
configure:9368: WARNING: Couldn't find Motif
configure:9377: WARNING: -- You will be able to compile pdftops, pdftotext,
        pdfinfo, pdffonts, pdfdetach, and pdfimages, but not xpdf
        or pdftoppm

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/opt/devkitPro/portlibs/armv6k/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/opt/devkitPro/portlibs/armv6k/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-none-eabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_fseek64=no
ac_cv_func_ftell64=no
ac_cv_func_gethostbyname=no
ac_cv_func_popen=no
ac_cv_func_rewinddir=yes
ac_cv_have_x=have_x=no
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_ft2build_h=yes
ac_cv_header_paper_h=no
ac_cv_header_png_h=yes
ac_cv_lib_bsd_gethostbyname=no
ac_cv_lib_freetype_FT_Get_Name_Index=yes
ac_cv_lib_png_png_write_row=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CC=arm-none-eabi-gcc
ac_cv_prog_CPP='arm-none-eabi-gcc -E'
ac_cv_prog_CXX=arm-none-eabi-g++
ac_cv_prog_RANLIB=arm-none-eabi-ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_search_opendir='none required'
ac_cv_search_strerror='none required'
ac_cv_sys_file_offset_bits=unknown
ac_cv_sys_large_files=unknown
ac_cv_sys_largefile_CC=no
ac_cv_sys_largefile_source=no
smr_cv_with_freetype2_includes=/opt/devkitPro/portlibs/armv6k/include/freetype2
smr_cv_with_freetype2_library=maybe
smr_cv_with_libpaper_includes=
smr_cv_with_libpaper_library=maybe
smr_cv_with_libpng_includes=
smr_cv_with_libpng_library=maybe
xpdf_cv_func_fseek64=no
xpdf_cv_func_ftell64=no
xpdf_cv_func_mkstemp=yes
xpdf_cv_func_mkstemps=yes
xpdf_cv_func_select_arg=no
xpdf_cv_func_std_sort=yes
xpdf_cv_sys_dos=no
xpdf_cv_sys_os2=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar rc'
CC='arm-none-eabi-gcc'
CFLAGS='-march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -O3 -mword-relocations -ffunction-sections'
CPP='arm-none-eabi-gcc -E'
CPPFLAGS='-I/opt/devkitPro/portlibs/armv6k/include'
CXX='arm-none-eabi-g++'
CXXFLAGS='-g -O2'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXE=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_LIBS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS='-L/opt/devkitPro/portlibs/armv6k/lib'
LIBOBJS=''
LIBPREFIX='lib'
LIBS=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='arm-none-eabi-ranlib'
SHELL='/bin/bash'
Sgm_CFLAGS=''
Sgm_LIBS=''
UP_DIR=''
X='#'
XMKMF=''
XPDF_TARGET='all-no-x'
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
Xext_CFLAGS=''
Xext_LIBS=''
Xm_CFLAGS=''
Xm_LIBS=''
Xp_CFLAGS=''
Xp_LIBS=''
Xpm_CFLAGS=''
Xpm_LIBS=''
Xt_CFLAGS=''
Xt_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
freetype2_CFLAGS='-I/opt/devkitPro/portlibs/armv6k/include/freetype2'
freetype2_LIBS='-lfreetype'
host_alias='arm-none-eabi'
htmldir='${docdir}'
includedir='/opt/devkitPro/portlibs/armv6k/include'
infodir='${datarootdir}/info'
libdir='/opt/devkitPro/portlibs/armv6k/lib'
libexecdir='${exec_prefix}/libexec'
libpaper_CFLAGS=''
libpaper_LIBS=''
libpng_CFLAGS=''
libpng_LIBS='-lpng'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/devkitPro/portlibs/armv6k'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define APPDEFDIR ""
#define SYSTEM_XPDFRC "/opt/devkitPro/portlibs/armv6k/etc/xpdfrc"
#define X_DISPLAY_MISSING 1
#define HAVE_DIRENT_H 1
#define HAVE_REWINDDIR 1
#define HAVE_MKSTEMP 1
#define HAVE_MKSTEMPS 1
#define SELECT_TAKES_INT 1
#define HAVE_STD_SORT 1
#define HAVE_FSEEKO 1
#define HAVE_FT2BUILD_H 1
#define HAVE_FREETYPE_FREETYPE_H 1
#define HAVE_SPLASH 1
#define HAVE_PNG_H 1

configure: exit 0
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • ZeroT21 @ ZeroT21:
    gn
  • BigOnYa @ BigOnYa:
    Offer to clean house, wash windows, walk dogs, anything. You gotta have drive in life to get anything. Nothing is just given to you, atleast when you get older.
  • ZeroT21 @ ZeroT21:
    it's gud pocket money
  • BigOnYa @ BigOnYa:
    I remember when I was 14, I lived by a Coffee delivery service, and I asked the owner if I could work, and he had me wash the trucks on weekends to make money.
  • ZeroT21 @ ZeroT21:
    i did carpet cleaning jobs, it was weird but doable
    +1
  • ZeroT21 @ ZeroT21:
    especially with all the tools available nowadays
  • ZeroT21 @ ZeroT21:
    back then all i had were brushes, cleaning agents and lots of elbow grease to work with
  • BigOnYa @ BigOnYa:
    Most kids don't want to work nowdays, they want everything handed to them. And to think you're poor just cause you don't own a Switch is ridiculous.
  • K3Nv2 @ K3Nv2:
    @BigOnYa, Give me money
    +2
  • ZeroT21 @ ZeroT21:
    some would say, being poor and healthy is fine, rather than being rich, sick and dying
    +1
  • ZeroT21 @ ZeroT21:
    need food? just grow some potatoes or whatever veggie. But society just messes shit up and make us work for paper to buy food
  • The Real Jdbye @ The Real Jdbye:
    being poor and healthy is the worst case scenario because you have the longest amount of time to "enjoy" being poor
  • wolffangalchemist @ wolffangalchemist:
    Yeah back in my late teens I used to mow about 10 lawns every two weeks for $35 a yard. It was stupid big yards I knew where paying a lot more than that to lawn care companies in a some what up tier gated community a few blocks from the area I lived. Was great getting $700 a month with no bills at the time and good excercise too, now I have bills so I never have any money to buy things.
  • K3Nv2 @ K3Nv2:
    Yet kids are always like I WANNA BE ADULT
    +1
  • BigOnYa @ BigOnYa:
    I wish I could go back to 14, living at home free and little to no worries.
  • K3Nv2 @ K3Nv2:
    Kids still have bs getting manipulated easily, believing dumb youtube content etc
    +1
  • BigOnYa @ BigOnYa:
    If I could go back, I'd be more of a horn ball than I am now. I'd be chasing all the girls I never had the balls to back then
  • K3Nv2 @ K3Nv2:
    I'd drop out of school sooner
  • wolffangalchemist @ wolffangalchemist:
    Yeah I would probably drop out sooner too, the country ass high school I went to wouldn't know intelligence if it hit the up side the head.
  • BigOnYa @ BigOnYa:
    I used to play those goonies games on NES, used to piss me off
  • wolffangalchemist @ wolffangalchemist:
    I think the most frustrating nes game as a kid to me was contra.
    wolffangalchemist @ wolffangalchemist: I think the most frustrating nes game as a kid to me was contra.