Skip to Main Content

Embedded Technologies

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Inappropriate ioctl for device

843849Sep 1 2004 — edited Dec 28 2004
I'm hoping this is the right group to post for help on this.

I've downloaded the CDC + Foundation Profile 1.0.1 (cdcfoundation-1_0_1-fcs-src.zip) and expanded it into a tmp directory. Following the instruction for building the CVM as found in the "CDCFoundation_Porting_Guide.pdf I have gone to the /tmp/build/linux-i686 directory and given the command

make CVM_DEBUG=true CVM_JAVABIN=/usr/java/jdk1.3.1_03/bin

This is of course after setting the CVM_GNU_TOOLS_PATH in /tmp/build/share/des.mk (to /usr/bin) and checking the versions of GNU Make is more recent than 3.78.1 (mine=3.79.1) and that GCC s 2.95.3 or above (mine=gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7))

The first errors I got had to do with ksh not being found so after installing the korn shell I keep getting the following error - This is an exact cut and paste ->

[root@kskLinux linux-i686]# make CVM_DEBUG=true CVM_JAVABIN=/usr/java/jdk1.3.1_03/bin
Checking for build-time classes to compile ...
Compiling build-time classes...
ksh[1]: cat: .btclasses.list: read error [Inappropriate ioctl for device]
javac: invalid argument: ../../src/s
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-O Optimize; may hinder debugging or enlarge class file
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-target <release> Generate class files for specific VM version

make: *** [.compile.btclasses] Error 2
[root@kskLinux linux-i686]#


Has anyone ran across this error before? i.e. "ksh[1]: cat: .btclasses.list: read error [Inappropriate ioctl for device]"

Help!




Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 25 2005
Added on Sep 1 2004
7 comments
1,047 views