help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave 3.6.2 build error: invalid preprocessing directive #!


From: Richard Crozier
Subject: octave 3.6.2 build error: invalid preprocessing directive #!
Date: Thu, 16 Aug 2012 08:35:54 -0700 (PDT)

Hi,

I'm trying to build the octave 3.6.2 sources but compilation has stopped
with the output below. Could anyone suggest a fix?

In file included from oct-rand.cc:27:
/usr/bin/map:1:2: error: invalid preprocessing directive #!
In file included from oct-rand.cc:27:
/usr/bin/map:4: error: stray '#' in program
/usr/bin/map:5:2: error: invalid preprocessing directive #$Id
/usr/bin/map:7:3: error: invalid preprocessing directive #map
/usr/bin/map:9:3: error: invalid preprocessing directive #See
/usr/bin/map:10:6: error: invalid preprocessing directive #http
/usr/bin/map:12:3: error: invalid preprocessing directive #Copyright
/usr/bin/map:13:3: error: invalid preprocessing directive #This
/usr/bin/map:14:3: error: invalid preprocessing directive #modify
/usr/bin/map:16:3: error: invalid preprocessing directive #Contact
/usr/bin/map:32: error: stray '\' in program
/usr/bin/map:87: error: stray '@' in program
/usr/bin/map:92: error: stray '@' in program
/usr/bin/map:93: error: stray '@' in program
/usr/bin/map:95: error: stray '@' in program
/usr/bin/map:96: error: stray '#' in program
/usr/bin/map:118: error: stray '@' in program
/usr/bin/map:120: error: stray '@' in program
/usr/bin/map:151:30: error: invalid suffix "txt" on floating constant
/usr/bin/map:167: error: stray '@' in program
In file included from oct-rand.h:26,
                 from oct-rand.cc:39:
/usr/bin/map:1:2: error: invalid preprocessing directive #!
In file included from oct-rand.h:26,
                 from oct-rand.cc:39:
/usr/bin/map:4: error: stray '#' in program
/usr/bin/map:5:2: error: invalid preprocessing directive #$Id
/usr/bin/map:7:3: error: invalid preprocessing directive #map
/usr/bin/map:9:3: error: invalid preprocessing directive #See
/usr/bin/map:10:6: error: invalid preprocessing directive #http
/usr/bin/map:12:3: error: invalid preprocessing directive #Copyright
/usr/bin/map:13:3: error: invalid preprocessing directive #This
/usr/bin/map:14:3: error: invalid preprocessing directive #modify
/usr/bin/map:16:3: error: invalid preprocessing directive #Contact
/usr/bin/map:32: error: stray '\' in program
/usr/bin/map:87: error: stray '@' in program
/usr/bin/map:92: error: stray '@' in program
/usr/bin/map:93: error: stray '@' in program
/usr/bin/map:95: error: stray '@' in program
/usr/bin/map:96: error: stray '#' in program
/usr/bin/map:118: error: stray '@' in program
/usr/bin/map:120: error: stray '@' in program
/usr/bin/map:151:30: error: invalid suffix "txt" on floating constant
/usr/bin/map:167: error: stray '@' in program
In file included from oct-rand.cc:27:
/usr/bin/map:3: error: expected constructor, destructor, or type conversion
before '\x2440227d'
/usr/bin/map:4: error: expected unqualified-id before '!' token
/usr/bin/map:20: error: 'my' does not name a type
/usr/bin/map:21: error: 'my' does not name a type
/usr/bin/map:23: error: 'use' does not name a type
/usr/bin/map:24: error: 'use' does not name a type
/usr/bin/map:26: error: expected constructor, destructor, or type conversion
before '%' token
/usr/bin/map:27: error: 'my' does not name a type
/usr/bin/map:29: error: expected constructor, destructor, or type conversion
before ':' token
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/new:40,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/new_allocator.h:33,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/x86_64-redhat-linux/bits/c++allocator.h:34,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/allocator.h:48,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/vector:62,
                 from oct-rand.cc:28:
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/exception:35:
error: expected declaration before end of line
make[3]: *** [liboctave_la-oct-rand.lo] Error 1
make[3]: Leaving directory
`/home/s0237326/Postgrad_Research/C_Projects/octave-3.6.2/liboctave'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/s0237326/Postgrad_Research/C_Projects/octave-3.6.2/liboctave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/s0237326/Postgrad_Research/C_Projects/octave-3.6.2'
make: *** [all] Error 2






--
View this message in context: 
http://octave.1599824.n4.nabble.com/octave-3-6-2-build-error-invalid-preprocessing-directive-tp4642802.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]