Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc6 build errors #1

Open
matthew-l-weber opened this issue Oct 31, 2017 · 0 comments
Open

gcc6 build errors #1

matthew-l-weber opened this issue Oct 31, 2017 · 0 comments

Comments

@matthew-l-weber
Copy link

ar cru libargp.a argp-ba.o argp-eexst.o argp-fmtstream.o argp-help.o argp-parse.o argp-pv.o argp-pvh.o
/home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-uclibc-ranlib libargp.a
/home/peko/autobuild/instance-0/output/host/bin/arc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -fPIC -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -o argp-test argp-test.o libargp.a
libargp.a(argp-help.o): In function indent_to': /home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:930: undefined reference to argp_fmtstream_point'
/home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:930: undefined reference to argp_fmtstream_point' /home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:932: undefined reference to argp_fmtstream_putc'
/home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:932: undefined reference to argp_fmtstream_putc' libargp.a(argp-help.o): In function space':
/home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:940: undefined reference to argp_fmtstream_point' /home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:940: undefined reference to argp_fmtstream_point'
/home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:944: undefined reference to argp_fmtstream_putc' /home/peko/autobuild/instance-0/output/build/argp-standalone-1.3/argp-help.c:944: undefined reference to argp_fmtstream_putc'
libargp.a(argp-help.o): In function `argp_doc':

Per a similar email thread, I believe the fix is adding -fgnu89-inline to the build env
https://www.mail-archive.com/ptxdist@pengutronix.de/msg09746.html

clpo13 added a commit to clpo13/argp-standalone that referenced this issue Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant