Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 883456 Details for
Bug 923125
sci-geosciences/gpscorrelate-2.0 - gpx-read.c: error: implicit declaration of function malloc [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sci-geosciences:gpscorrelate-2.0:20240128-112450.log
sci-geosciences:gpscorrelate-2.0:20240128-112450.log (text/plain), 4.97 KB, created by
Toralf Förster
on 2024-01-28 14:59:50 UTC
(
hide
)
Description:
sci-geosciences:gpscorrelate-2.0:20240128-112450.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-01-28 14:59:50 UTC
Size:
4.97 KB
patch
obsolete
> * Package: sci-geosciences/gpscorrelate-2.0:0 > * Repository: gentoo > * Maintainer: sci-geosciences@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc gtk kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking gpscorrelate-2.0.tar.gz to /var/tmp/portage/sci-geosciences/gpscorrelate-2.0/work >>>> Source unpacked in /var/tmp/portage/sci-geosciences/gpscorrelate-2.0/work >>>> Preparing source in /var/tmp/portage/sci-geosciences/gpscorrelate-2.0/work/gpscorrelate-2.0 ... > * Applying gpscorrelate-2.0-desktop-pass-validation.patch ... > [ ok ] > * Applying gpscorrelate-2.0-respect-users-flags.patch ... > [ ok ] > * Applying gpscorrelate-2.0-exiv2-0.28.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sci-geosciences/gpscorrelate-2.0/work/gpscorrelate-2.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sci-geosciences/gpscorrelate-2.0/work/gpscorrelate-2.0 ... >make -j4 gpscorrelate >cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o main-command.o main-command.c >cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o unixtime.o unixtime.c >cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o gpx-read.o gpx-read.c >cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o correlate.o correlate.c >gpx-read.c: In function âExtractTrackPointsâ: >gpx-read.c:122:70: error: implicit declaration of function âmallocâ [-Wimplicit-function-declaration] > 122 | LastPoint->Next = (struct GPSPoint*) malloc(sizeof(struct GPSPoint)); > | ^~~~~~ > >gpx-read.c:39:1: note: include â<stdlib.h>â or provide a declaration of âmallocâ > 38 | #include "latlong.h" > +++ |+#include <stdlib.h> > 39 | >gpx-read.c:122:70: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] > 122 | LastPoint->Next = (struct GPSPoint*) malloc(sizeof(struct GPSPoint)); > | ^~~~~~ > >gpx-read.c:122:70: note: include â<stdlib.h>â or provide a declaration of âmallocâ >gpx-read.c:127:65: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] > 127 | FirstPoint = (struct GPSPoint*) malloc(sizeof(struct GPSPoint)); > | ^~~~~~ > >gpx-read.c:127:65: note: include â<stdlib.h>â or provide a declaration of âmallocâ >gpx-read.c:143:42: error: implicit declaration of function âatofâ [-Wimplicit-function-declaration] > 143 | LastPoint->Lat = atof(Lat); > | ^~~~ >gpx-read.c: In function âFreeTrackâ: >gpx-read.c:316:17: error: implicit declaration of function âfreeâ [-Wimplicit-function-declaration] > 316 | free(CurrentFree); > | ^~~~ >gpx-read.c:316:17: note: include â<stdlib.h>â or provide a declaration of âfreeâ >gpx-read.c:316:17: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] >gpx-read.c:316:17: note: include â<stdlib.h>â or provide a declaration of âfreeâ >make: *** [Makefile:51: gpx-read.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: sci-geosciences/gpscorrelate-2.0::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sci-geosciences/gpscorrelate-2.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sci-geosciences/gpscorrelate-2.0::gentoo'`. > * The complete build log is located at '/var/log/portage/sci-geosciences:gpscorrelate-2.0:20240128-112450.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-geosciences/gpscorrelate-2.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/gpscorrelate-2.0/temp/environment'. > * Working directory: '/var/tmp/portage/sci-geosciences/gpscorrelate-2.0/work/gpscorrelate-2.0' > * S: '/var/tmp/portage/sci-geosciences/gpscorrelate-2.0/work/gpscorrelate-2.0' >
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 923125
:
883450
|
883451
|
883452
|
883453
|
883454
|
883455
| 883456 |
883457