Odp: Problem z kompilacja


Autor: laczo_at_ibq.pl
Data: czw 26 wrz 2002 - 20:24:36 CEST


a czy czasmi to poprostu nie sa błedy w kodzie?

----- Original Message -----
From: Artur Witkowski <worf_at_kask.net.pl>
To: <slacklist_at_slackware.com.pl>
Sent: Thursday, September 26, 2002 7:03 PM
Subject: [slacklist] Problem z kompilacja

> Bardzo czesto przy kompilacji ma takie cus :
> channels.c:242: warning: pointer of type `void *' used in arithmetic
> cipher.c:391: warning: pointer of type `void *' used in arithmetic
> /usr/include/bits/string2.h:436: warning: pointer of type `void *' used in
> arithmetic
> deattack.c:131: warning: pointer of type `void *' used in arithmetic
>
> Ostatnio probowalem skompilowac inny kod i dostalem cos
> takiego, n ie wiem w czym jest problemm gcc w wersji 2.95.3
> [root_at_qonos smbnuke]# gcc dane.c
> dane.c:66: parse error before `>'
> dane.c:82: parse error before `}'
> dane.c:83: warning: `packed' attribute ignored
> dane.c:313: parse error before `*'
> dane.c: In function `build_smb_header':
> dane.c:317: `hdr' undeclared (first use in this function)
> dane.c:317: (Each undeclared identifier is reported only once
> dane.c:317: for each function it appears in.)
> dane.c: In function `request_session_setup':
> dane.c:350: stray '\' in program
> dane.c:350: parse error before `;'
> dane.c: In function `negotiate_protocol':
> dane.c:360: `smb_header' undeclared (first use in this function)
> dane.c:360: parse error before `hdr'
> dane.c:371: `hdr' undeclared (first use in this function)
> dane.c:392: stray '\' in program
> dane.c:392: parse error before `;'
> dane.c: In function `request_session_setup_andx':
> dane.c:401: `smb_header' undeclared (first use in this function)
> dane.c:401: parse error before `hdr'
> dane.c:409: `hdr' undeclared (first use in this function)
> dane.c:454: stray '\' in program
> dane.c:454: parse error before `;'
> dane.c: In function `request_tree_connect_andx':
> dane.c:467: `smb_header' undeclared (first use in this function)
> dane.c:467: parse error before `hdr'
> dane.c:473: parse error before `)'
> dane.c:475: `hdr' undeclared (first use in this function)
> dane.c:513: stray '\' in program
> dane.c:513: parse error before `;'
> dane.c: In function `request_transaction':
> dane.c:525: `smb_header' undeclared (first use in this function)
> dane.c:525: parse error before `hdr'
> dane.c:532: parse error before `)'
> dane.c:533: parse error before `)'
> dane.c:535: `hdr' undeclared (first use in this function)
> dane.c:576: stray '\' in program
> dane.c:576: parse error before `;'
> dane.c: In function `list_netbios_names':
> dane.c:646: stray '\' in program
> dane.c:646: parse error before `;'
> dane.c:647: stray '\' in program
> dane.c:648: stray '\' in program
> dane.c:651: stray '\' in program
> dane.c:651: parse error before `;'
> dane.c:652: stray '\' in program
> dane.c:652: parse error before `;'
> dane.c: In function `is_smb_header':
> dane.c:717: `smb_header' undeclared (first use in this function)
> dane.c: In function `main':
> dane.c:870: `smb_header' undeclared (first use in this function)
> dane.c:870: parse error before `)'
>
>
> pozdrawiam
>
> -- 
> Żaden dobry uczynek nie pozostaje bez kary
>



To archiwum zostało wygenerowane przez hypermail 2.1.5 : pią 03 sty 2003 - 19:12:40 CET

Wyprawa Shackleton 2014