This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Helph about DBI and Mysql for Solaris




Please Help me!

Hellow,

I'm from Cali, Colombia. I'm working with Mysql for Solaris in Sun-Sparc
Workstation.

When I install DBI, I have a mistake:

I installed Mysql. (mysql-3.22.32-sun-solaris2.5.1-sparc - Satisfactory )
I installed (Perl 5.005_03 built for sun4-solaris  - Satisfactory)

I installed DBI (one part):

perl Makefile.PL (Satisfactory)

But, when I execute:

make  <enter>           I receive this error:


gcc -c  -I/usr/local/include -O     -DVERSION=\"1.18\"  -DXS_VERSION=\"1.18\
" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment 
-DDBI_NO_THREADS Perl.c
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:307,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:27:31:
sys/feature_tests.h: No such file or directory
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:28:26:
sys/isa_defs.h: No such file or directory
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:33:27:
sys/machtypes.h: No such file or directory
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:42:27:
sys/int_types.h: No such file or directory
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:307,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:137:
parse error before "pad64_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:138:
parse error before "upad64_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:277:
parse error before "uint8_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:282:
parse error before "uint8_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:284:
parse error before "__pthread_mutex_owner64"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:286:
parse error before "__pthread_mutex_data"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:291:
parse error before "uint8_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:294:
parse error before "__pthread_cond_data"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:324:
parse error before "upad64_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/sys/types.h:431:24
: sys/select.h: No such file or directory
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlsdio.h:5,
                 from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h:203,
                 from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:325,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/stdio.h:31:31:
sys/feature_tests.h: Error 0
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/stdio.h:32:25:
sys/va_list.h: No such file or directory
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlsdio.h:5,
                 from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h:203,
                 from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:325,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/stdio.h:85: parse
error before "fpos_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/stdio.h:295: parse
error before "fpos_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/stdio.h:297: parse
error before '*' token
In file included from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:336:19: ctype.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:344:23: locale.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:361:20: setjmp.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:367:26: sys/param.h:
No such file or directory
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:373,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/stdlib.h:27:31:
sys/feature_tests.h: Error 0
In file included from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:433:23: string.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:523:27: netinet/in.h:
No such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:527:26: arpa/inet.h:
No such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:537:25: sys/stat.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:566:25: sys/time.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:573:27: sys/times.h:
No such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:580:19: errno.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:637:30: sys/ioctl.h:
No such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:660:23: dirent.h: No
such file or directory
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/limits.h:11,
                 from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:860,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/syslimits.h:27:31:
sys/feature_tests.h: Error 0
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/syslimits.h:28:26:
sys/isa_defs.h: Error 0
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/syslimits.h:40:28:
sys/int_limits.h: No such file or directory
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include/syslimits.h:64:2:
#error Are chars signed or unsigned?
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1121,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/unixish.h:93:21: signal.h: No
such file or directory
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1269,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/sv.h:299: parse error before
"DIR"
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/sv.h:299: warning: no
semicolon at end of struct or union
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/sv.h:313: parse error before
'}' token
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1280,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/scope.h:133: parse error
before "sigjmp_buf"
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/scope.h:133: warning: no
semicolon at end of struct or union
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/scope.h:136: parse error
before '}' token
In file included from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1560: parse error
before "lseek"
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1560: parse error
before "off_t"
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1560: warning: type
defaults to `int' in declaration of `lseek'
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1560: warning: data
definition has no type or storage class
In file included from
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:2109,
                 from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/proto.h:58: warning: `struct
stat' declared inside parameter list
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/proto.h:58: warning: its
scope is only this definition or declaration, which is probably not what you
want.
In file included from DBIXS.h:19,
                 from Perl.xs:1:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:2543:24: sys/ipc.h: No
such file or directory
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:2544:24: sys/sem.h: No
such file or directory
Perl.c: In function `XS_DBD__Perl__dr_discon_all_':
Perl.c:32: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__db__login':
Perl.c:49: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__db_commit':
Perl.c:83: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__db_rollback':
Perl.c:100: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__db_disconnect':
Perl.c:117: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__db_STORE':
Perl.c:150: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__db_FETCH':
Perl.c:172: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__db_DESTROY':
Perl.c:191: warning: unused variable `errno'
Perl.xsi: In function `XS_DBD__Perl__st__prepare':
Perl.xsi:197: warning: operation on `PL_na' may be undefined
Perl.c:242: warning: unused variable `errno'
Perl.xsi: In function `XS_DBD__Perl__st_bind_param':
Perl.xsi:233: warning: operation on `PL_na' may be undefined
Perl.c:287: warning: unused variable `errno'
Perl.xsi: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.xsi:269: warning: operation on `PL_na' may be undefined
Perl.c:329: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_execute':
Perl.c:377: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_fetchrow_arrayref':
Perl.c:427: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_fetchrow_array':
Perl.c:446: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_finish':
Perl.c:474: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_blob_read':
Perl.c:504: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_STORE':
Perl.c:542: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_FETCH_attrib':
Perl.c:564: warning: unused variable `errno'
Perl.c: In function `XS_DBD__Perl__st_DESTROY':
Perl.c:586: warning: unused variable `errno'
Perl.c: In function `boot_DBD__Perl':
Perl.c:638: warning: implicit declaration of function `strcmp'
Perl.c:635: warning: unused variable `errno'
Perl.c: At top level:
/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/patchlevel.h:41: warning:
`local_patches' defined but not used
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'


I lock that not found this routines: 

sys/feature_tests.h,
sys/isa_defs.h,
sys/machtypes.h, 
sys/int_types.h

Why ?

Where I obtain them  ?

PLEASE HELP ME !!!
thanks!

Oscar Coral Lopez
Multinet
EMCALI E.I.C.E.
Cali-Colombia










---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html"; before
posting. To request this thread, e-mail
msql-mysql-modules-thread1459@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]