Devtools cbspecsfile help


marovada

Member
Joined
Oct 13, 2009
Messages
109
I'm compiling on my Pandora using the devtools command line interface.  Its a port so there is an existing makefile.  When I compile, I'm getting the error:

gcc.org: error: /init/cbspecsfile: no such file or directory

I've checked and cbspecsfile is in the appdata/init directory for the codeblocks PND.  Somehow gcc isn't finding it and I don't know whether this means I have to modify the makefile to use the -specs command or whether there is a bug in the devtools.
 
I'm compiling on my Pandora using the devtools command line interface. Its a port so there is an existing makefile. When I compile, I'm getting the error:


gcc.org: error: /init/cbspecsfile: no such file or directory


I've checked and cbspecsfile is in the appdata/init directory for the codeblocks PND. Somehow gcc isn't finding it and I don't know whether this means I have to modify the makefile to use the -specs command or whether there is a bug in the devtools.
strange. it should work. do you use the CB command line, you type your password without problems?
 
I'm compiling on my Pandora using the devtools command line interface. Its a port so there is an existing makefile. When I compile, I'm getting the error:


gcc.org: error: /init/cbspecsfile: no such file or directory


I've checked and cbspecsfile is in the appdata/init directory for the codeblocks PND. Somehow gcc isn't finding it and I don't know whether this means I have to modify the makefile to use the -specs command or whether there is a bug in the devtools.
strange. it should work. do you use the CB command line, you type your password without problems?
Yeah, I use the CB command line and type my password and it works fine.  I also thought it was strange because it compiles a whole bunch of source files and then it chokes on one of them with that error.  I'm compiling fltk-1.3.2.  Another strange thing is that when I try to use configure, it says that the c compiler can't compile executables.

I was having problems with compiling on a FAT partition (permission errors) so I made an ext2 partition and have the source files on that partition. 
 
[hugly hack]

try to change the first line of you configure from

#!/bin/sh

to

#!/bin/bash

[/hugly hack]
Unfortunately didn't work.  This is part of config.log:

Code:
## --------- ##
## Platform. ##
## --------- ##

hostname = gary-openpandora
uname -m = armv7l
uname -r = 3.2.58
uname -s = Linux
uname -v = #986 Sat May 3 02:28:34 EEST 2014

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

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

PATH: /mnt/utmp/codeblocks/local/bin/
PATH: /mnt/utmp/codeblocks/perl/bin/
PATH: /mnt/utmp/codeblocks/qtcreator/bin/
PATH: /mnt/utmp/codeblocks/
PATH: /mnt/utmp/codeblocks/bin/
PATH: /mnt/utmp/codeblocks/usr/bin/
PATH: /mnt/utmp/codeblocks/wx/bin/
PATH: /mnt/utmp/codeblocks/home/bin/
PATH: //mnt/utmp/codeblocks/wine/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/bin/X11/
PATH: /usr/games/


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

configure:2841: checking for gcc
configure:2861: found /mnt/utmp/codeblocks/usr/bin/gcc
configure:2872: result: gcc
configure:3117: checking for C compiler version
configure:3126: gcc --version >&5
gcc.org: error: /init/cbspecsfile: No such file or directory
configure:3137: $? = 1
configure:3126: gcc -v >&5
Using built-in specs.
Reading specs from /init/cbspecsfile
gcc.org: error: /init/cbspecsfile: No such file or directory
configure:3137: $? = 1
configure:3126: gcc -V >&5
gcc.org: error: /init/cbspecsfile: No such file or directory
configure:3137: $? = 1
configure:3126: gcc -qversion >&5
gcc.org: error: /init/cbspecsfile: No such file or directory
configure:3137: $? = 1
configure:3157: checking whether the C compiler works
configure:3179: gcc    conftest.c  >&5
gcc.org: error: /init/cbspecsfile: No such file or directory
configure:3183: $? = 1
configure:3221: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3226: error: in `/media/linux/fltk-1.3.2-source/fltk-1.3.2':
configure:3228: error: C compiler cannot create executables
See `config.log' for more details
 
Back
Top