Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 408890 Details for
Bug 557394
net-analyzer/ipaudit-1.0_beta2 : ipdbase.c:92:52: error: unknown type name ‘MYSQL’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:ipaudit-1.0_beta2:20150812-184717.log
net-analyzer:ipaudit-1.0_beta2:20150812-184717.log (text/plain), 10.45 KB, created by
Toralf Förster
on 2015-08-12 19:17:10 UTC
(
hide
)
Description:
net-analyzer:ipaudit-1.0_beta2:20150812-184717.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2015-08-12 19:17:10 UTC
Size:
10.45 KB
patch
obsolete
> * Package: net-analyzer/ipaudit-1.0_beta2 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux mysql userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking ipaudit-1.0BETA2.tar.gz to /var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work >>>> Compiling source in /var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work/ipaudit-1.0BETA2 ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-mysql >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes > >Configuring for ipaudit ... >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 >checking for a BSD-compatible install... /usr/bin/install -c >checking for sqrt in -lm... yes >checking for gethostent in -lnsl... yes >checking for pcap_datalink in -lpcap... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for egrep... grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking pcap.h usability... yes >checking pcap.h presence... yes >checking for pcap.h... yes >checking for mysql_init in -lmysqlclient... yes >checking mysql.h usability... no >checking mysql.h presence... no >checking for mysql.h... no >checking mysql/mysql.h usability... no >checking mysql/mysql.h presence... no >checking for mysql/mysql.h... no >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating doc/Makefile >config.status: creating src/config.h >config.status: executing depfiles commands >make -j1 >Making all in src >make[1]: Entering directory '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work/ipaudit-1.0BETA2/src' >make all-am >make[2]: Entering directory '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work/ipaudit-1.0BETA2/src' >if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -MT total.o -MD -MP -MF ".deps/total.Tpo" -c -o total.o total.c; \ >then mv -f ".deps/total.Tpo" ".deps/total.Po"; else rm -f ".deps/total.Tpo"; exit 1; fi >if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -MT hash.o -MD -MP -MF ".deps/hash.Tpo" -c -o hash.o hash.c; \ >then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo"; exit 1; fi >hash.c: In function âht_storekeyâ: >hash.c:319:6: warning: incompatible implicit declaration of built-in function âmemcpyâ > memcpy(curr->data, data, ndata); > ^ >hash.c:342:2: warning: incompatible implicit declaration of built-in function âmemcpyâ > memcpy(temp->key, key, nkey); > ^ >hash.c:311:23: warning: ignoring return value of âcallocâ, declared with attribute warn_unused_result [-Wunused-result] > if (ndata ) calloc(1, ndata); > ^ >x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o total total.o hash.o -lmysqlclient -lpcap -lnsl -lm >if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -MT ipaudit.o -MD -MP -MF ".deps/ipaudit.Tpo" -c -o ipaudit.o ipaudit.c; \ >then mv -f ".deps/ipaudit.Tpo" ".deps/ipaudit.Po"; else rm -f ".deps/ipaudit.Tpo"; exit 1; fi >ipaudit.c: In function âread_optionsâ: >ipaudit.c:1538:4: warning: format â%uâ expects argument of type âunsigned int *â, but argument 3 has type âunsigned char *â [-Wformat=] > sscanf (optarg, "%u.%u.%u.%u", &ip_m[0],&ip_m[1],&ip_m[2],&ip_m[3]); > ^ >ipaudit.c:1538:4: warning: format â%uâ expects argument of type âunsigned int *â, but argument 4 has type âunsigned char *â [-Wformat=] >ipaudit.c:1538:4: warning: format â%uâ expects argument of type âunsigned int *â, but argument 5 has type âunsigned char *â [-Wformat=] >ipaudit.c:1538:4: warning: format â%uâ expects argument of type âunsigned int *â, but argument 6 has type âunsigned char *â [-Wformat=] >ipaudit.c: In function âread_config_lineâ: >ipaudit.c:1808:3: warning: format â%uâ expects argument of type âunsigned int *â, but argument 3 has type âunsigned char *â [-Wformat=] > sscanf (val, "%u.%u.%u.%u", &ip_m[0],&ip_m[1],&ip_m[2],&ip_m[3]); > ^ >ipaudit.c:1808:3: warning: format â%uâ expects argument of type âunsigned int *â, but argument 4 has type âunsigned char *â [-Wformat=] >ipaudit.c:1808:3: warning: format â%uâ expects argument of type âunsigned int *â, but argument 5 has type âunsigned char *â [-Wformat=] >ipaudit.c:1808:3: warning: format â%uâ expects argument of type âunsigned int *â, but argument 6 has type âunsigned char *â [-Wformat=] >ipaudit.c: In function âmainâ: >ipaudit.c:413:3: warning: ignoring return value of âsetgidâ, declared with attribute warn_unused_result [-Wunused-result] > setgid (pw_user->pw_gid); > ^ >ipaudit.c:414:3: warning: ignoring return value of âsetuidâ, declared with attribute warn_unused_result [-Wunused-result] > setuid (pw_user->pw_uid); > ^ >if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -O2 -pipe -MT ipdbase.o -MD -MP -MF ".deps/ipdbase.Tpo" -c -o ipdbase.o ipdbase.c; \ >then mv -f ".deps/ipdbase.Tpo" ".deps/ipdbase.Po"; else rm -f ".deps/ipdbase.Tpo"; exit 1; fi >ipdbase.c:92:52: error: unknown type name âMYSQLâ > void mysql_start (char *, char *, char *, char *, MYSQL *); > ^ >ipdbase.c:113:62: error: unknown type name âMYSQLâ > void mysql_start(char *host,char *user,char *passwd,char *db,MYSQL *p_mysql) { > ^ >ipdbase.c: In function âbin_writepktâ: >ipdbase.c:153:7: warning: incompatible implicit declaration of built-in function âexitâ > exit(1); > ^ >ipdbase.c: In function âtxt_writepktâ: >ipdbase.c:243:7: warning: incompatible implicit declaration of built-in function âexitâ > exit(1); > ^ >ipdbase.c:248:24: warning: incompatible implicit declaration of built-in function âcallocâ > conn = (helem_t **) calloc (nconn, sizeof(helem_t *)); > ^ >ipdbase.c:252:7: warning: incompatible implicit declaration of built-in function âexitâ > exit(1); > ^ >ipdbase.c:279:4: warning: incompatible implicit declaration of built-in function âstrncpyâ > strncpy(hostname, probelabel_g,IP_NAME_LEN); > ^ >ipdbase.c:283:4: warning: incompatible implicit declaration of built-in function âstrncpyâ > strncpy(hostname,"unknown",IP_NAME_LEN); > ^ >ipdbase.c:402:20: warning: incompatible implicit declaration of built-in function âfreeâ > if (NULL!=conn) free (conn); > ^ >ipdbase.c: In function âsql_writepktâ: >ipdbase.c:438:7: warning: incompatible implicit declaration of built-in function âexitâ > exit(1); > ^ >ipdbase.c:443:24: warning: incompatible implicit declaration of built-in function âcallocâ > conn = (helem_t **) calloc (nconn, sizeof(helem_t *)); > ^ >ipdbase.c:447:7: warning: incompatible implicit declaration of built-in function âexitâ > exit(1); > ^ >ipdbase.c:474:4: warning: incompatible implicit declaration of built-in function âstrncpyâ > strncpy(hostname, probelabel_g,IP_NAME_LEN); > ^ >ipdbase.c:478:4: warning: incompatible implicit declaration of built-in function âstrncpyâ > strncpy(hostname,"unknown",IP_NAME_LEN); > ^ >ipdbase.c:591:20: warning: incompatible implicit declaration of built-in function âfreeâ > if (NULL!=conn) free (conn); > ^ >ipdbase.c: In function âmysql_writepktâ: >ipdbase.c:604:2: error: unknown type name âMYSQLâ > MYSQL mysql; > ^ >ipdbase.c:661:3: warning: incompatible implicit declaration of built-in function âstrncpyâ > strncpy (tablename, mysql_config[4], IP_NAME_LEN); > ^ >ipdbase.c:677:4: warning: incompatible implicit declaration of built-in function âstrncpyâ > strncpy(hostname, probelabel_g,IP_NAME_LEN); > ^ >ipdbase.c:690:4: warning: incompatible implicit declaration of built-in function âstrncpyâ > strncpy(hostname,"unknown",IP_NAME_LEN); > ^ >Makefile:273: recipe for target 'ipdbase.o' failed >make[2]: *** [ipdbase.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work/ipaudit-1.0BETA2/src' >Makefile:154: recipe for target 'all' failed >make[1]: *** [all] Error 2 >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work/ipaudit-1.0BETA2/src' >Makefile:187: recipe for target 'all-recursive' failed >make: *** [all-recursive] Error 1 >emake failed > * ERROR: net-analyzer/ipaudit-1.0_beta2::gentoo failed (compile phase): > * emake failed > * > * Call stack: > * ebuild.sh, line 93: Called src_compile > * environment, line 1936: Called die > * The specific snippet of code: > * emake || die "emake failed" > * > * If you need support, post the output of `emerge --info '=net-analyzer/ipaudit-1.0_beta2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/ipaudit-1.0_beta2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:ipaudit-1.0_beta2:20150812-184717.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work/ipaudit-1.0BETA2' > * S: '/var/tmp/portage/net-analyzer/ipaudit-1.0_beta2/work/ipaudit-1.0BETA2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 557394
:
408888
| 408890