Build problem: NEW_H not defined

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Build problem: NEW_H not defined

Steve Swanson
Hi,
   I built Seamonkey earlier this week, before my Windows disk died and
I had to replace it and reinstall everything.  Now, my build stops early
on when it's trying to compile nsDependentString.cpp, in particular on

d:\Mozilla\mozilla\obj-Debug\dist\include\string\nsString.h(55) : error
C2006: '#include' : expected a filename, found 'identifier'

(This is where it says #include NEW_H.)

Does anyone know how to fix this?  If not, does anyone know where NEW_H
is defined so I can start backtracking?  I'm guessing the problem is
with the new cygwin install, but that's just a vague guess.

Platform:  WinXP sp2, VC7, fresh cygwin, nothing special in mozconfig or
MOZENV.

   steve
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build problem: NEW_H not defined

Benjamin Smedberg
Steve Swanson wrote:

> Hi,
>   I built Seamonkey earlier this week, before my Windows disk died and I
> had to replace it and reinstall everything.  Now, my build stops early
> on when it's trying to compile nsDependentString.cpp, in particular on
>
> d:\Mozilla\mozilla\obj-Debug\dist\include\string\nsString.h(55) : error
> C2006: '#include' : expected a filename, found 'identifier'
>
> (This is where it says #include NEW_H.)
>
> Does anyone know how to fix this?  If not, does anyone know where NEW_H
> is defined so I can start backtracking?  I'm guessing the problem is
> with the new cygwin install, but that's just a vague guess.
>
> Platform:  WinXP sp2, VC7, fresh cygwin, nothing special in mozconfig or
> MOZENV.
>
>   steve

NEW_H is typically define in <objdir>/config/autoconf.mk in the ACDEFINES
section, and passed on the command line.

--BDS
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build problem: NEW_H not defined

Chris Cranford
Benjamin Smedberg wrote:

> Steve Swanson wrote:
>> Hi,
>>   I built Seamonkey earlier this week, before my Windows disk died and
>> I had to replace it and reinstall everything.  Now, my build stops
>> early on when it's trying to compile nsDependentString.cpp, in
>> particular on
>>
>> d:\Mozilla\mozilla\obj-Debug\dist\include\string\nsString.h(55) :
>> error C2006: '#include' : expected a filename, found 'identifier'
>>
>> (This is where it says #include NEW_H.)
>>
>> Does anyone know how to fix this?  If not, does anyone know where
>> NEW_H is defined so I can start backtracking?  I'm guessing the
>> problem is with the new cygwin install, but that's just a vague guess.
>>
>> Platform:  WinXP sp2, VC7, fresh cygwin, nothing special in mozconfig
>> or MOZENV.
>>
>>   steve
>
> NEW_H is typically define in <objdir>/config/autoconf.mk in the
> ACDEFINES section, and passed on the command line.
>
> --BDS

I tried to compile the thunderbird project and received the following
error message.  Can anyone explain what could have been wrong?  I am
compiling this with cygwin and VS 7.1

c:/dev/thunderbird/mozilla/accessible/src/msaa/nsAccessibleWrap.cpp(57)
: fatal error C1083: Cannot open include file: 'atlbase.h': No such file
or directory

I know this file is located in my $VS71/vc7/atlmfc/include directory.

--
Chris
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build problem: NEW_H not defined

Steve Swanson
In reply to this post by Benjamin Smedberg
Benjamin Smedberg wrote:

> Steve Swanson wrote:
>> Hi,
>>   I built Seamonkey earlier this week, before my Windows disk died and
>> I had to replace it and reinstall everything.  Now, my build stops
>> early on when it's trying to compile nsDependentString.cpp, in
>> particular on
>>
>> d:\Mozilla\mozilla\obj-Debug\dist\include\string\nsString.h(55) :
>> error C2006: '#include' : expected a filename, found 'identifier'
>>
>> (This is where it says #include NEW_H.)
>>
>> Does anyone know how to fix this?  If not, does anyone know where
>> NEW_H is defined so I can start backtracking?  I'm guessing the
>> problem is with the new cygwin install, but that's just a vague guess.
>>
>> Platform:  WinXP sp2, VC7, fresh cygwin, nothing special in mozconfig
>> or MOZENV.
>>
>>   steve
>
> NEW_H is typically define in <objdir>/config/autoconf.mk in the
> ACDEFINES section, and passed on the command line.
>
> --BDS

I solved the problem by changing the Cygwin Default Text File Type from

* Unix / binary (RECOMMENDED)
to
* DOS / text

Don't know exactly why this causes things to work right.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build problem: NEW_H not defined

Brendan Eich
Steve Swanson wrote:
>
> I solved the problem by changing the Cygwin Default Text File Type from
>
> * Unix / binary (RECOMMENDED)
> to
> * DOS / text
>
> Don't know exactly why this causes things to work right.

Did you file a bug?  This bit me too.  I hate a mystery, and the
recommended default text file type should just work.

/be
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build problem: NEW_H not defined

Chris Seawood
Brendan Eich wrote:

> Steve Swanson wrote:
>>
>> I solved the problem by changing the Cygwin Default Text File Type from
>>
>> * Unix / binary (RECOMMENDED)
>> to
>> * DOS / text
>>
>> Don't know exactly why this causes things to work right.
>
> Did you file a bug?  This bit me too.  I hate a mystery, and the
> recommended default text file type should just work.

See bug 311923 .

- cls

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds