Mailinglist Archive: opensuse-buildservice (351 mails)

< Previous Next >
Re: [opensuse-buildservice] Problem with build for 11.0
  • From: Cristian Rodríguez <crrodriguez@xxxxxxx>
  • Date: Fri, 11 Jul 2008 19:04:24 -0400
  • Message-id: <4877E6F8.4000808@xxxxxxx>
Dr. Axel Braun escribió:

I put the devel package in, but the error remains the same. I attach the build log....

well. the "test code":

#include "iostream.h"
int main(){ cout << "Hello World!" << endl; return 0;}

is wrong. :P

iostream.h is a deprecated header, that no longer exists {1}, it previosuly lived on /usr/include/c++/4.2.1/backward/iostream.h and when you compile the test code, it clearly warns you about it's deprecated status..

replace the test code for

#include <iostream>

using namespace std;

int main(void)
cout << "Hello World!" << endl;
return 0;

and try again.


"A computer is like an Old Testament god, with a lot of rules and no mercy. "

Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development

< Previous Next >